From 2d97fbda127c954b1802022c1dd1fda64a319689 Mon Sep 17 00:00:00 2001 From: Chris Hammer Date: Wed, 8 Mar 2023 17:06:45 -0500 Subject: [PATCH] initial project commit; add ansible.cfg and inventory (hosts) --- ansible.cfg | 27 +++++++++++++++++++++++++++ hosts | 22 ++++++++++++++++++++++ 2 files changed, 49 insertions(+) create mode 100644 ansible.cfg create mode 100644 hosts diff --git a/ansible.cfg b/ansible.cfg new file mode 100644 index 0000000..8f1a363 --- /dev/null +++ b/ansible.cfg @@ -0,0 +1,27 @@ +[defaults] +inventory = hosts +roles_path = roles +collections_path = collections +remote_tmp = /tmp/.ansible-${USER}/tmp +gathering = smart +gather_timeout = 300 +fact_path = facts.d +fact_caching = jsonfile +fact_caching_connection = facts.d +fact_caching_timeout = 300 +retry_files_enabled = False +forks = 40 +timeout = 30 +host_key_checking = False +display_skipped_hosts = False +bin_ansible_callbacks = True +callback_whitelist = ansible.posix.profile_tasks, ansible.posix.timer +deprecation_warnings = False +command_warnings = False +#strategy = free + + +[ssh_connection] +pipelining = True +ssh_args = -o ControlMaster=auto -o ControlPersist=60s -o PreferredAuthentications=publickey + diff --git a/hosts b/hosts new file mode 100644 index 0000000..662dccb --- /dev/null +++ b/hosts @@ -0,0 +1,22 @@ +[dev] +lab-dev-1 ansible_host=10.10.42.235 +lab-dev-2 ansible_host=10.10.42.203 +lab-dev-3 ansible_host=10.10.42.218 +lab-dev-4 ansible_host=10.10.42.240 +lab-dev-5 ansible_host=10.10.42.208 +lab-dev-6 ansible_host=10.10.42.213 +lab-dev-7 ansible_host=10.10.42.202 +lab-dev-8 ansible_host=10.10.42.220 +lab-dev-9 ansible_host=10.10.42.239 +lab-dev-10 ansible_host=10.10.42.246 +lab-dev-11 ansible_host=10.10.42.244 +lab-dev-12 ansible_host=10.10.42.145 +lab-dev-13 ansible_host=10.10.42.147 +lab-dev-14 ansible_host=10.10.42.157 +lab-dev-15 ansible_host=10.10.42.177 +lab-dev-16 ansible_host=10.10.42.133 +lab-dev-17 ansible_host=10.10.42.179 +lab-dev-18 ansible_host=10.10.42.165 +lab-dev-19 ansible_host=10.10.42.188 +lab-dev-20 ansible_host=10.10.42.142 +