Tech/OSS/Ansible/Guide/ansiblecfg

From lathama
< Tech‎ | OSS‎ | Ansible‎ | Guide
Jump to navigation Jump to search

Example config for the guide

ansible.cfg

[defaults]

# Changes from default for this Ansible101 repository
# Some paths are not currently defaulted to use
# ANSIBLE_HOME so we set them here.

home=.ansible
fact_caching_timeout=3600
inventory=inventory
log_path=.ansible/logs
ansible_managed=Ansible101 managed
vault_password_file=.ansible_vault
;host_key_checking=True
playbook_dir=playbooks
retry_files_enabled=False
retry_files_save_path=.ansible/retrys
async_dir=.ansible/async

[persistent_connection]
control_path_dir=.ansble/pc

[paramiko_connection]
;host_key_auto_add=False

[callback_tree]
directory=.ansible/tree

[ssh_connection]
control_path_dir=.ansible/cp
;host_key_checking=True