--- - name: Start gemserv hosts: gemserv tasks: - name: Start gemserv ansible.builtin.command: whoami become: true sudo: true sudo_user: root