This commit is contained in:
2022-05-06 12:47:55 -04:00
parent b5c62d01c2
commit 4fe1b534c6
3 changed files with 6 additions and 5 deletions

View File

@ -1,5 +1,5 @@
--- ---
- name: Update inventory based on extra_vars - name: Inventory based on extra_vars
hosts: localhost hosts: localhost
connection: local connection: local
gather_facts: no gather_facts: no
@ -11,7 +11,7 @@
vars: vars:
__host_inventory: container_inventory __host_inventory : container_inventory
__host_state : present __host_state : present
__hosts: __hosts:

View File

@ -1,12 +1,12 @@
--- ---
- name: Tests machine connections via Ansible Tower/Ansible Automation Platform - name: Test machine connections
hosts: all hosts: all
gather_facts: no gather_facts: no
become: no become: no
vars: vars:
# These vars are used to purposefully fail a node # These vars are used to purposefully fail a node for testing
fail_host : "{{ tower_fail_host | default('no') }}" fail_host : "{{ tower_fail_host | default('no') }}"
host_to_fail : "{{ tower_host_to_fail | default('lab-prod-1') }}" host_to_fail : "{{ tower_host_to_fail | default('lab-prod-1') }}"

View File

@ -8,6 +8,7 @@ __no_log: yes
tower_url : 'https://tower2.thezengarden.net' tower_url : 'https://tower2.thezengarden.net'
tower_user : admin tower_user : admin
tower_password : redhat tower_password : redhat
tower_org : Red Hat Consulting
tower_file_removal_template : 13 tower_file_removal_template : 13
tower_file_creation_template : 20 tower_file_creation_template : 20