Compare commits

...

4 commits

Author SHA1 Message Date
Kevin Heyer
b3c0af2139 add caching and comments 2025-04-27 18:08:09 +02:00
Kevin Heyer
d9f8a545be add ignorefile 2025-04-27 18:06:53 +02:00
Kevin Heyer
f6f953f6c0 add secrets file to config 2025-04-27 18:06:44 +02:00
Kevin Heyer
979df190dc Add default config 2025-04-27 17:58:17 +02:00
2 changed files with 37 additions and 0 deletions

8
.gitignore vendored Normal file
View file

@ -0,0 +1,8 @@
# Ignore inventory file. This are Submodules
inventory/
# Ignore .secret files.... you know, there secret...
*.secret
# Ignore Caching
cache/

29
ansible.cfg Normal file
View file

@ -0,0 +1,29 @@
[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
# Vault-Einstellungen
vault_password_file = ./vault.secret
# 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