Well that is a tip I was not expecting! :)
will try that tomorrow at work.

But if it asks you the sudo password and you need to explicitly tell 
ansible-playbook to use sudo, isnt that a bit counterintuitive?
Right now, it asks the sudo password, but it's not using it for anything. 
What's the point of asking then??

Anyways, thanks for the answer. Will try and report back tomorrow.


On Wednesday, 5 March 2014 18:41:11 UTC, Adam Morris wrote:
>
>
>
> On Wednesday, March 5, 2014 7:30:57 AM UTC-8, Makimoto Marakatti wrote:
>>
>> I've got 
>>
>> ask_sudo_pass  = True 
>>
>> on ~/.ansible.cfg
>>
>> Both are run as the user 'ansible'.
>> So I'm guessing I can rule that out?
>>
>
> No.  ask_sudo_pass just tells it to ask you for the sudo password.  It 
> doesn't tell it to use sudo try adding -s to your ansible-playbook command.
>
> Adam 
>

-- 
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 ansible-project+unsubscr...@googlegroups.com.
To post to this group, send email to ansible-project@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/47f1aa22-9954-42ba-a88b-1bdb99666401%40googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to