no, it is for the remote server, but you are there as the user you loged in as 'foo', ansible_sudo_user is the user you want to become from the logged in user, so you can run stuff as bar, but then you want to sudo again (this is the unsupported part) to run commands as root.
so ansible supports this: foo => bar or foo => root but not foo => bar => 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/CAJ5XC8%3DsTaMxee07J29C5-nveEvQ%2B%3DoBJ3zy_B3T1mg8bZgkJA%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
