From 23957623178ca8f8bc0fc396dc07a5d17af1a30e Mon Sep 17 00:00:00 2001 From: Tanwi Geetika Date: Mon, 2 Sep 2024 12:28:19 +0530 Subject: [PATCH] Adding test fixture for command-instead-of-module --- examples/playbooks/rule-command-instead-of-module-pass.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/examples/playbooks/rule-command-instead-of-module-pass.yml b/examples/playbooks/rule-command-instead-of-module-pass.yml index 2fbc5c2ad3..fec33c20c9 100644 --- a/examples/playbooks/rule-command-instead-of-module-pass.yml +++ b/examples/playbooks/rule-command-instead-of-module-pass.yml @@ -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