It's not possible in ansible.cfg, but could be set in inventory for all
hosts, e.g.

[all]
host1
host2

[all:vars]
ansible_sudo_pass=MakeMeASammich




On Tue, Mar 3, 2015 at 7:30 AM, Simón Muñoz <simon...@gmail.com> wrote:

> Hi all,
>
> is it possible to set ansible_sudo_pass in /etc/ansible/ansible.cfg to
> avoid having to enter the sudo pass in a group of local clients?
>
> Thanks in advance, Simon.
>
> --
> 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/59c13ea7-1c1f-4fd7-abd0-4eaccdb2aacc%40googlegroups.com
> <https://groups.google.com/d/msgid/ansible-project/59c13ea7-1c1f-4fd7-abd0-4eaccdb2aacc%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
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/CAH%2BKTJ4-KXetLYV6y6X185CxA2ya5W6mVgU59tVJ%2BEX20TNArQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to