From 83d999471917650c56f4113cb65e61e197a2ddf8 Mon Sep 17 00:00:00 2001 From: Sven Velt Date: Thu, 19 Sep 2024 15:12:23 +0200 Subject: [PATCH] Kapitel 12: Fact caching --- 12/ansible.cfg | 37 +++++++++++++++++++++++++++++++++++++ ansible.cfg | 2 +- 2 files changed, 38 insertions(+), 1 deletion(-) create mode 100644 12/ansible.cfg diff --git a/12/ansible.cfg b/12/ansible.cfg new file mode 100644 index 0000000..a05b5f9 --- /dev/null +++ b/12/ansible.cfg @@ -0,0 +1,37 @@ +[defaults] + +# Inventory +inventory = ./hosts.ini + +# Roles paths +roles_path = ./roles:./roles.extern:./roles.webcluster:/etc/ansible/roles + +# Interpreter Discovery - Ohne Warnings +interpreter_python = auto_silent + +# SSH +remote_user = root +#host_key_checking = False + +# Retry files +retry_files_enabled = yes +retry_files_save_path = ./.cache/Retry/ + +# Log files +#log_path = ./log/ansible.log + +# Fact caching +gathering = smart +fact_caching_timeout = 86400 +fact_caching = yaml +fact_caching_connection = ./.cache/facts/ + +# Farben ausschalten +#nocolor = 1 + +[colors] +# Für dunklen Hintergrund in der Console +verbose = bright blue +debug = bright gray +error = bright red + diff --git a/ansible.cfg b/ansible.cfg index 31fbd81..00efac9 120000 --- a/ansible.cfg +++ b/ansible.cfg @@ -1 +1 @@ -11/ansible.cfg \ No newline at end of file +12/ansible.cfg \ No newline at end of file