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/12/ping.yml b/12/ping.yml new file mode 100644 index 0000000..acb5f2a --- /dev/null +++ b/12/ping.yml @@ -0,0 +1,7 @@ +--- +- hosts: + - all + - localhost + tasks: + - ping: + diff --git a/12/setup.yml b/12/setup.yml new file mode 100644 index 0000000..1f61bdd --- /dev/null +++ b/12/setup.yml @@ -0,0 +1,5 @@ +--- +- hosts: all + + tasks: [] + diff --git a/helper/12_packages.sh b/helper/12_packages.sh new file mode 100755 index 0000000..166b99a --- /dev/null +++ b/helper/12_packages.sh @@ -0,0 +1,6 @@ +#!/bin/bash + +sudo apt install --no-install-recommends --yes \ + jq \ + nmap\ +