alliance-boreale/infrastructure/ansible2/ansible.cfg
Dan Allaire ef98fd8a3f Refonte
2026-03-09 18:23:06 -04:00

59 lines
1.1 KiB
INI

# Alliance Boréale - Ansible Configuration
# Version: 1.0
# Date: 2025-10-31
[defaults]
# Inventaire
inventory = inventories/production/hosts.yml
# Comportement
host_key_checking = False
retry_files_enabled = False
gathering = smart
fact_caching = jsonfile
fact_caching_connection = /tmp/ansible_facts
fact_caching_timeout = 3600
# Output
stdout_callback = yaml
bin_ansible_callbacks = True
display_skipped_hosts = False
display_ok_hosts = True
# Performance
forks = 10
poll_interval = 5
timeout = 30
# Privilèges
become = True
become_method = sudo
become_user = root
become_ask_pass = False
# SSH
remote_user = ansible
private_key_file = ~/.ssh/alliance_boreale_ed25519
# Logs
log_path = /var/log/ansible/ansible.log
# Roles
roles_path = roles
# Collections
collections_paths = ~/.ansible/collections:/usr/share/ansible/collections
[privilege_escalation]
become = True
become_method = sudo
become_user = root
become_ask_pass = False
[ssh_connection]
ssh_args = -o ControlMaster=auto -o ControlPersist=60s -o StrictHostKeyChecking=no
pipelining = True
control_path = /tmp/ansible-ssh-%%h-%%p-%%r
[inventory]
enable_plugins = yaml, ini, host_list