2025-12-27 14:00:22 +01:00
|
|
|
[defaults]
|
|
|
|
|
# Inventory configuration
|
|
|
|
|
inventory = hcloud.yml
|
|
|
|
|
host_key_checking = False
|
|
|
|
|
interpreter_python = auto_silent
|
|
|
|
|
|
|
|
|
|
# Performance
|
|
|
|
|
forks = 10
|
|
|
|
|
gathering = smart
|
|
|
|
|
fact_caching = jsonfile
|
|
|
|
|
fact_caching_connection = /tmp/ansible_facts
|
|
|
|
|
fact_caching_timeout = 86400
|
|
|
|
|
|
|
|
|
|
# Output
|
2025-12-27 14:13:15 +01:00
|
|
|
stdout_callback = default
|
|
|
|
|
result_format = yaml
|
2025-12-27 14:00:22 +01:00
|
|
|
bin_ansible_callbacks = True
|
|
|
|
|
display_skipped_hosts = False
|
|
|
|
|
|
|
|
|
|
# SSH
|
|
|
|
|
remote_user = root
|
|
|
|
|
private_key_file = ~/.ssh/ptt_infrastructure
|
|
|
|
|
timeout = 30
|
|
|
|
|
|
|
|
|
|
# Roles
|
|
|
|
|
roles_path = ./roles
|
|
|
|
|
|
|
|
|
|
[inventory]
|
|
|
|
|
# Enable Hetzner Cloud dynamic inventory plugin
|
|
|
|
|
enable_plugins = hetzner.hcloud.hcloud
|
|
|
|
|
|
|
|
|
|
[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 UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no
|