diff --git a/gemserv/stop_gemserv.yml b/gemserv/stop_gemserv.yml index 9437fe0..35dea3c 100644 --- a/gemserv/stop_gemserv.yml +++ b/gemserv/stop_gemserv.yml @@ -7,5 +7,8 @@ tasks: - name: Start gemserv + become: true + become_user: root + become_method: sudo ansible.builtin.shell: cmd: whoami && sv stop gemserv