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
connection: local
gather_facts: no
@ -11,8 +11,8 @@
vars:
__host_inventory: container_inventory
__host_state : present
__host_inventory : container_inventory
__host_state : present
__hosts:
- hostname : lab-dev-1

View File

@ -1,12 +1,12 @@
---
- name: Tests machine connections via Ansible Tower/Ansible Automation Platform
- name: Test machine connections
hosts: all
gather_facts: no
become: no
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') }}"
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_user : admin
tower_password : redhat
tower_org : Red Hat Consulting
tower_file_removal_template : 13
tower_file_creation_template : 20