Dear Members,
Need your support.
i am confused about ansible.cfg file. these configuration are fine If it is required to disable default become method? please assist me.
[defaults]
inventory = inventory (location with path)
remote_user = username
ask_pass = false
[privilege_escalation]
become = false
please assist. if these configuration are fine or need to add something.
Hello,
you can check the answers to your questions with:
ansible-config list
The less tool is used to show all options from ansible.cfg. Therefor you can search (with / or ?) for the default values of become and ask_pass.
You will find out, that this config could be enough:
[defaults]
inventory = inventory (location with path)
remote_user = username
Best regards
Andreas
Red Hat
Learning Community
A collaborative learning environment, enabling open source skill development.