From c2a146245a72c9334cc2aaf316404ee32353326f Mon Sep 17 00:00:00 2001 From: Chris Hammer Date: Fri, 1 Oct 2021 11:43:31 -0400 Subject: [PATCH] 0.1.44-DEV-20211001-114212 -------------------------- * MODIFY: - ansible.cfg - now using our standard ansible.cfg - host_vars/10.10.10.93.yml - re-ip and re-mac of lab/dev env; prefix changed from 'lab-' to 'dev-' --- ansible.cfg | 22 +++++++++- host_vars/10.10.10.93.yml | 84 +++++++++++++++++---------------------- 2 files changed, 57 insertions(+), 49 deletions(-) diff --git a/ansible.cfg b/ansible.cfg index fd767f1..6301807 100644 --- a/ansible.cfg +++ b/ansible.cfg @@ -1,22 +1,40 @@ [defaults] inventory = /etc/ansible/hosts roles_path = /etc/ansible/roles +collections_paths = /etc/ansible/collections remote_tmp = /tmp/.ansible-${USER}/tmp gathering = smart gather_timeout = 30 fact_path = /etc/ansible/facts.d fact_caching = jsonfile fact_caching_connection = /etc/ansible/facts.d -fact_caching_timeout = 1800 +fact_caching_timeout = 86400 retry_files_enabled = False forks = 15 timeout = 30 host_key_checking = False display_skipped_hosts = False interpreter_python = auto_silent -# ansible_python_interpreter=/usr/bin/python3 +bin_ansible_callbacks = True +callback_whitelist = yaml, timer, profile_tasks, profile_roles +command_warnings = False +deprecation_warnings = False [ssh_connection] pipelining = True ssh_args = -o ControlMaster=auto -o ControlPersist=60s -o PreferredAuthentications=publickey + + +# The following configuration is needed in order to install +# the official Ansible Tower collection which is a required +# dependancy of this set of plays and roles: +# +# [galaxy] +# server_list = automation_hub +# +# +# [galaxy_server.automation_hub] +# url = https://cloud.redhat.com/api/automation-hub/ +# auth_url = https://sso.redhat.com/auth/realms/redhat-external/protocol/openid-connect/token +# token = diff --git a/host_vars/10.10.10.93.yml b/host_vars/10.10.10.93.yml index b4efdee..42fc202 100644 --- a/host_vars/10.10.10.93.yml +++ b/host_vars/10.10.10.93.yml @@ -1,67 +1,57 @@ --- -# lab-tower-1 :: lab__tower :: 10.10.10.66 -# lab-tower-2 :: lab__tower :: 10.10.10.77 -# lab-tower-3 :: lab__tower :: 10.10.10.88 -# lab-dev-1 :: lab__dev :: 10.10.10.67 -# lab-dev-2 :: lab__dev :: 10.10.10.68 -# lab-dev-3 :: lab__dev :: 10.10.10.74 -# lab-test-1 :: lab__test :: 10.10.10.69 -# lab-test-2 :: lab__test :: 10.10.10.70 -# lab-test-3 :: lab__test :: 10.10.10.75 -# lab-prod-1 :: lab__prod :: 10.10.10.71 -# lab-prod-2 :: lab__prod :: 10.10.10.72 -# lab-prod-3 :: lab__prod :: 10.10.10.76 -# lab-control-1 :: lab__control :: 10.10.10.73 - static_assignments: - lab-tower-1: + dev-tower-1: mac_address: "00:1B:C5:01:40:00" + ip_address : "10.10.10.65" + + dev-tower-2: + mac_address: "00:1B:C5:01:40:01" ip_address : "10.10.10.66" - lab-tower-2: - mac_address: "00:1B:C5:01:40:11" - ip_address : "10.10.10.77" - - lab-tower-3: - mac_address: "00:1B:C5:01:40:12" - ip_address : "10.10.10.88" - - lab-dev-1: - mac_address: "00:1B:C5:01:40:01" + dev-tower-3: + mac_address: "00:1B:C5:01:40:02" ip_address : "10.10.10.67" - lab-dev-2: - mac_address: "00:1B:C5:01:40:02" + dev-dev-1: + mac_address: "00:1B:C5:01:40:03" ip_address : "10.10.10.68" - lab-dev-3: - mac_address: "00:1B:C5:01:40:08" - ip_address : "10.10.10.74" - - lab-test-1: - mac_address: "00:1B:C5:01:40:03" + dev-dev-2: + mac_address: "00:1B:C5:01:40:04" ip_address : "10.10.10.69" - lab-test-2: - mac_address: "00:1B:C5:01:40:04" + dev-dev-3: + mac_address: "00:1B:C5:01:40:05" ip_address : "10.10.10.70" - lab-test-3: - mac_address: "00:1B:C5:01:40:09" - ip_address : "10.10.10.75" - - lab-prod-1: - mac_address: "00:1B:C5:01:40:05" + dev-test-1: + mac_address: "00:1B:C5:01:40:06" ip_address : "10.10.10.71" - lab-prod-2: - mac_address: "00:1B:C5:01:40:06" + dev-test-2: + mac_address: "00:1B:C5:01:40:07" ip_address : "10.10.10.72" - lab-prod-3: + dev-test-3: + mac_address: "00:1B:C5:01:40:08" + ip_address : "10.10.10.73" + + dev-prod-1: + mac_address: "00:1B:C5:01:40:09" + ip_address : "10.10.10.74" + + dev-prod-2: mac_address: "00:1B:C5:01:40:10" + ip_address : "10.10.10.75" + + dev-prod-3: + mac_address: "00:1B:C5:01:40:11" ip_address : "10.10.10.76" - lab-control-1: - mac_address: "00:1B:C5:01:40:07" - ip_address : "10.10.10.73" + dev-control-1: + mac_address: "00:1B:C5:01:40:12" + ip_address : "10.10.10.77" + + dev-conjur-1: + mac_address: "00:1B:C5:01:40:14" + ip_address : "10.10.10.78"