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