Skip to content

Instantly share code, notes, and snippets.

@dovry
Last active March 25, 2022 10:36
Show Gist options
  • Save dovry/d290701861cc0f321fe3f15439ff9e8c to your computer and use it in GitHub Desktop.
Save dovry/d290701861cc0f321fe3f15439ff9e8c to your computer and use it in GitHub Desktop.
ansible.cfg
# config file for ansible -- https://ansible.com/
# ================================================
[defaults]
vault_password_file = ~/.config/.ansi-vault
gathering = smart
fact_path = ~/.ansible/facts
roles_path = ~/.ansible/roles/:/etc/ansible/roles
display_skipped_hosts = False
#enable_task_debugger = True
# Use the YAML callback plugin.
stdout_callback = yaml
# Use the stdout_callback when running ad-hoc commands.
bin_ansible_callbacks = True
fact_caching = jsonfile
fact_caching_connection = ~/.ansible/facts/
fact_caching_timeout = 86400
# some basic default values...
inventory = ~/.ansible/inventory
local_tmp = /tmp/
forks = 5
poll_interval = 15
sudo_user = root
#ask_pass = True
#ask_vault_pass = True
# if set, always use this private key file for authentication, same as
# if passing --private-key to ansible or ansible-playbook
host_key_checking = False
#private_key_file = /path/to/file
retry_files_enabled = False
show_custom_stats = True
[diff]
#always = yes
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment