From 4fe1b534c6cb33bee46af3672e6808b965444564 Mon Sep 17 00:00:00 2001 From: Chris Hammer Date: Fri, 6 May 2022 12:47:55 -0400 Subject: [PATCH] tidy up --- inv-from-vars.yml | 6 +++--- machine-test.yml | 4 ++-- vars/defaults.yml | 1 + 3 files changed, 6 insertions(+), 5 deletions(-) diff --git a/inv-from-vars.yml b/inv-from-vars.yml index b921ff7..7c72271 100644 --- a/inv-from-vars.yml +++ b/inv-from-vars.yml @@ -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 diff --git a/machine-test.yml b/machine-test.yml index d10de70..85ce0cb 100644 --- a/machine-test.yml +++ b/machine-test.yml @@ -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') }}" diff --git a/vars/defaults.yml b/vars/defaults.yml index e81ab1b..a2ee311 100644 --- a/vars/defaults.yml +++ b/vars/defaults.yml @@ -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