iac_stack/ansible.cfg
2025-07-16 23:22:46 +02:00

35 lines
No EOL
798 B
INI

[defaults]
inventory = ./ansible/inventory/
host_key_checking = False
retry_files_enabled = False
private_key_file = ~/.ssh/ansible_key
# Caching-Einstellungen
gathering = smart
fact_caching = jsonfile
fact_caching_connection = ./cache
fact_caching_timeout = 86400
# Rollen-Pfade
roles_path = ./ansible/roles/
# Vault-Einstellungen
vault_password_file = ./vault.secret
# Ansible-Verhalten
ansible_managed = Ansible managed: {file} modified on %Y-%m-%d %H:%M:%S
# Use the YAML callback plugin.
stdout_callback = yaml
# Use the stdout_callback when running ad-hoc commands.
bin_ansible_callbacks = True
[privilege_escalation]
become = True
become_method = sudo
become_user = root
become_ask_pass = False
[ssh_connection]
ssh_args = -o ControlMaster=auto -o ControlPersist=60s
pipelining = True