Sorry, I do not understand again. If this is true below *ansible_ssh_user * /remote_user is the user you log in as. *ansible_sudo_user* is the user you become through sudo.
Then why can I not use one user account to connect to a remote servers using SSH and another, separate account to use sudo on the remote machine. *ansible_ssh_user*=foo ( use foo to connect from local server to remote using SSH ) *ansible_sudo_user*=bar ( sudo to use bar on the remote server and run command as the root user ) Am I getting my local and remote sudo mixed up? Is the *ansible_sudo_user *parameter for the local server and not the remote server? On Friday, 16 January 2015 15:25:43 UTC, Brian Coca wrote: > > no, ansible_ssh_user/remote_user is the user you log in as, > ansible_sudo_user is the user you become through sudo. > > > > -- > Brian Coca > -- You received this message because you are subscribed to the Google Groups "Ansible Project" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/94df3548-1d23-4c52-9d64-82eb7145f748%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
