Skip to content

Commit

Permalink
Adding test fixture for command-instead-of-module
Browse files Browse the repository at this point in the history
  • Loading branch information
tanwigeetika1618 committed Sep 2, 2024
1 parent 69c162d commit 2395762
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions examples/playbooks/rule-command-instead-of-module-pass.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,10 @@
ansible.builtin.command: systemctl kill --signal=SIGUSR1 sshd
changed_when: false

- name: Reset a service with systemctl reset-failed
ansible.builtin.command: systemctl reset-failed sshd
changed_when: false

- name: Clear yum cache
ansible.builtin.command: yum clean all
changed_when: false
Expand Down

0 comments on commit 2395762

Please sign in to comment.