You should not need to set become/sudo to false (also they are
redundant) unless you are setting it elsewhere to do so. If set
through the command line, ansible.cfg or environment variables.

If you set the inventory vars 'ansible_become/ansible_sudo', these
would override the directives, to avoid this you should set them at
the play level which will obey normal variable precedence.

-- 
Brian Coca

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

Reply via email to