MuhammadRamzan

Mission Specialist
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-02-2025
07:37 AM
- 512 Views
ansbile configuration
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.
2 Replies


Flight Engineer
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-02-2025
01:22 PM
- 477 Views
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

Community Manager
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-03-2025
01:19 PM
- 444 Views
Join the discussion
You must log in to join this conversation.