--- - hosts: webhost vars: username: html-deployer remote_user: webadmin tasks: - name: Create user for git actions to deploy html become: true user: name: "{{ username }}" comment: Used for deploying html from Gitea Actions group: nginx generate_ssh_key: true ssh_key_comment: Generated by Ansible for Gitea Actions