sudo_user is the user you become, not the user executing sudo, remove it and it will default to root or set sudo_user: root
I know this is confusing if you know about the sudo environment variables that is why we deprecated this syntax in favor of become_user: in newer versions. -- 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/CAJ5XC8kDetm3engtHS5XnESCBx3icfExjdnx-MX5A%3D9RMSSaig%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
