from your first email I see that you have: sudo_user = che in your defaults file. That's likely the source of this portion of the issue. sudo_user means "the user that you want to sudo to". So you want it to be root (which is the default so you should be fine if you just get rid of that line).
You were probably thinking that you needed to specify the user to sudo from. In ansible the user that you sudo from is the user that ansible is ssh'ing into the box as. In your defaults you're setting remote_user=che so that's the user that will be sudo'd from. -Toshio -- 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/8a8bd2ee-06fd-4bc1-a6e3-2871c455b60f%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
