diff --git a/gemserv/restart_gemserv.yml b/gemserv/restart_gemserv.yml index 64beb35..801c373 100644 --- a/gemserv/restart_gemserv.yml +++ b/gemserv/restart_gemserv.yml @@ -1,9 +1,9 @@ --- - name: Start gemserv hosts: gemserv + become: true tasks: - name: Start gemserv - become: yes ansible.builtin.shell: cmd: sv restart gemserv diff --git a/gemserv/start_gemserv.yml b/gemserv/start_gemserv.yml index 6cfb527..a382a12 100644 --- a/gemserv/start_gemserv.yml +++ b/gemserv/start_gemserv.yml @@ -1,9 +1,9 @@ --- - name: Start gemserv hosts: gemserv + become: true tasks: - name: Start gemserv - become: yes ansible.builtin.shell: cmd: sv start gemserv diff --git a/gemserv/stop_gemserv.yml b/gemserv/stop_gemserv.yml index b6bc67c..7f3317e 100644 --- a/gemserv/stop_gemserv.yml +++ b/gemserv/stop_gemserv.yml @@ -1,9 +1,9 @@ --- - name: Start gemserv hosts: gemserv + become: true tasks: - name: Start gemserv - become: yes ansible.builtin.shell: cmd: sv stop gemserv