Last active
May 14, 2024 10:31
-
-
Save alexolinux/2591b553c94ba22c97979ac461c137c5 to your computer and use it in GitHub Desktop.
ansible.cfg to be used in the current directory ("development environment")
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#https://docs.ansible.com/ansible/latest/reference_appendices/config.html | |
#ansible-config init --disabled > ansible.cfg | |
[defaults] | |
#https://docs.ansible.com/ansible/latest/inventory_guide/intro_inventory.html | |
inventory = ./hosts | |
remote_tmp = ~/.ansible/tmp | |
local_tmp = ~/.ansible/tmp | |
host_key_checking = False | |
log_path = ./ansible.log | |
private_key_file = ~/.ssh/id_rsa | |
[privilege_escalation] | |
become=True | |
become_method=sudo | |
become_user=root | |
become_ask_pass=False |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment