No, sudo_user is not the user allowed to sudo, but the user you are allowed to sudo as.
logs in as foo and runs command as bar (uses foo's privlege to sudo to bar) ansible_ssh_user=foo ansible_sudo_user=bar logs in as foo and runs commands as foo user (this is actually a sudo noop) ansible_ssh_user=foo ansible_sudo_user=foo logs in as foo and runs commands as root user (for this you need to modify the sudoers) ansible_ssh_user=foo ansible_sudo_user=root ---- 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/CAJ5XC8k7nSy9YYp5GDd5G7mJKvhqP3mqvm6sGmc0MeGuUAJTNA%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
