From 5a5dbba621e84c3d1743632df8bad0f701b551df Mon Sep 17 00:00:00 2001 From: Sven Velt Date: Tue, 17 Sep 2024 09:43:27 +0200 Subject: [PATCH] Kapitel 04: Config-File --- 04/ansible-service.cfg | 31 +++++++++++++++++++++++++++++++ 04/ansible.cfg | 28 ++++++++++++++++++++++++++++ ansible.cfg | 1 + 3 files changed, 60 insertions(+) create mode 100644 04/ansible-service.cfg create mode 100644 04/ansible.cfg create mode 120000 ansible.cfg diff --git a/04/ansible-service.cfg b/04/ansible-service.cfg new file mode 100644 index 0000000..ad6cd94 --- /dev/null +++ b/04/ansible-service.cfg @@ -0,0 +1,31 @@ +[defaults] + +# Inventory +inventory = ./hosts.ini + +# Interpreter Discovery - Ohne Warnings +interpreter_python = auto_silent + +# SSH +remote_user = service +#host_key_checking = False + +# Retry files +retry_files_enabled = yes +retry_files_save_path = ./.cache/Retry/ + +# Log files +#log_path = ./log/ansible.log + +# Farben ausschalten +#nocolor = 1 + +[privilege_escalation] +become = True + +[colors] +# Für dunklen Hintergrund in der Console +verbose = bright blue +debug = bright gray +error = bright red + diff --git a/04/ansible.cfg b/04/ansible.cfg new file mode 100644 index 0000000..cc3902f --- /dev/null +++ b/04/ansible.cfg @@ -0,0 +1,28 @@ +[defaults] + +# Inventory +inventory = ./hosts.ini + +# 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 + +# 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 new file mode 120000 index 0000000..6d3486f --- /dev/null +++ b/ansible.cfg @@ -0,0 +1 @@ +04/ansible.cfg \ No newline at end of file