Ansible running user

You can use the --user (or -u) flag with ansible-playbook to specify a user to be used across all hosts in the inventory, or you can even use the ansible_user host variable within the inventory itself to specify user accounts on a per-host basis.

Comments