- Add .gitignore for Ansible project (Python, temp files, secrets) - Add ansible.cfg with optimized settings - Enable SSH pipelining for performance - Configure fact caching with jsonfile backend - Set roles_path and inventory defaults
20 lines
470 B
INI
20 lines
470 B
INI
[defaults]
|
|
inventory = inventories/development
|
|
roles_path = roles
|
|
host_key_checking = False
|
|
retry_files_enabled = False
|
|
gathering = smart
|
|
fact_caching = jsonfile
|
|
fact_caching_connection = /tmp/ansible_fact_cache
|
|
fact_caching_timeout = 86400
|
|
|
|
[privilege_escalation]
|
|
become = True
|
|
become_method = sudo
|
|
become_user = root
|
|
become_ask_pass = False
|
|
|
|
[ssh_connection]
|
|
pipelining = True
|
|
ssh_args = -o ControlMaster=auto -o ControlPersist=60s -o StrictHostKeyChecking=accept-new
|