From f2844d484bad121e71261f1c3515493c185ec493 Mon Sep 17 00:00:00 2001 From: core Date: Wed, 21 Jun 2023 20:00:42 -0400 Subject: [PATCH] try fix 7 --- gemserv/stop_gemserv.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/gemserv/stop_gemserv.yml b/gemserv/stop_gemserv.yml index 4658203..5cffdeb 100644 --- a/gemserv/stop_gemserv.yml +++ b/gemserv/stop_gemserv.yml @@ -2,7 +2,7 @@ - name: Start gemserv hosts: gemserv tasks: - - name: Start gemserv - ansible.builtin.command: whoami - sudo: true - sudo_user: root + - name: Elevate permissions + ansible.builtin.sudo: + - name: Stop gemserv + ansible.builtin.command: sv stop gemserv