I just found it too :)) Thank you, Toshio, anyway! 2014-12-04 23:33 GMT+03:00 tkuratomi <[email protected]>:
> > 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 > <https://groups.google.com/d/msgid/ansible-project/8a8bd2ee-06fd-4bc1-a6e3-2871c455b60f%40googlegroups.com?utm_medium=email&utm_source=footer> > . > > For more options, visit https://groups.google.com/d/optout. > -- С уважением, Павел "Che" Лецкий -- 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/CALxmVWY4L8cUbjH5WPS7_7U_U3hnHSs%3DGCcgSrZnGdCn9ND3NQ%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
