Add default config

This commit is contained in:
Kevin Heyer 2025-04-27 17:58:17 +02:00
parent 20cfd3ac6e
commit 979df190dc

26
ansible.cfg Normal file
View file

@ -0,0 +1,26 @@
[defaults]
inventory = ./inventory/
host_key_checking = False
retry_files_enabled = False
# Caching-Einstellungen
gathering = smart
fact_caching = jsonfile
fact_caching_connection = ./cache
fact_caching_timeout = 86400
# Rollen-Pfade
roles_path = ./roles/global:./roles/custom
# Ansible-Verhalten
ansible_managed = Ansible managed: {file} modified on %Y-%m-%d %H:%M:%S by @{UID} on {host}
[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