From 35eae0112b696e01112acb8d4bf4e2b2ccf569f4 Mon Sep 17 00:00:00 2001 From: core Date: Wed, 21 Jun 2023 19:53:24 -0400 Subject: [PATCH] try fix 3 --- gemserv/stop_gemserv.yml | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/gemserv/stop_gemserv.yml b/gemserv/stop_gemserv.yml index 35dea3c..7118ef2 100644 --- a/gemserv/stop_gemserv.yml +++ b/gemserv/stop_gemserv.yml @@ -1,14 +1,9 @@ --- - name: Start gemserv hosts: gemserv - become: true - become_user: root - become_method: sudo - tasks: - name: Start gemserv become: true become_user: root become_method: sudo - ansible.builtin.shell: - cmd: whoami && sv stop gemserv + ansible.builtin.command: sv stop gemserv