--- - name: Start gemserv hosts: gemserv tasks: - name: Start gemserv become: yes ansible.builtin.shell: cmd: sv stop gemserv