diff --git a/ansible.cfg b/ansible.cfg new file mode 100644 index 0000000..c99bb80 --- /dev/null +++ b/ansible.cfg @@ -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