Hi, I was facing the same issue until i changed the privilges of normal user to 'ALL' in sudoers file. Now ansible playbook doesn't asks for passwords for this user.
On Tuesday, December 17, 2013 12:21:08 AM UTC+5:30, Mikhail Sobolev wrote: > > > > On Monday, 11 November 2013 19:23:39 UTC+2, Brian Coca wrote: >> >> in more recent ansible, you can set 'remote_user:' at a task level and >> use that instead of sudo >> >> you also have 'runas.exe' as a kind of sudo substitute on windows. >> >> Thanks everyone for suggestions (I was a bit away madly doing manual > upgrades :)). > > So far using different 'remote_user' for tasks that do not require special > privileges and for those that do sounds exactly what I was looking for > (sorry, Jim, I did not describe my problem better). > > -- > Misha > -- 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/4928f6dc-d2ee-4859-b8c7-18ae3230ee71%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
