Simplify build loop, make demo data in tests

This commit is contained in:
AlanCoding
2020-03-04 13:53:06 -05:00
parent 4fcd2c594c
commit c073e39c69
2 changed files with 33 additions and 11 deletions

View File

@@ -0,0 +1,24 @@
---
- name: Assure that default organization exists
tower_organization:
name: Default
- name: Assure that demo project exists
tower_project:
name: "Demo Project"
scm_type: 'git'
scm_url: 'https://github.com/ansible/ansible-tower-samples'
scm_update_on_launch: true
organization: Default
- name: Assure that demo inventory exists
tower_inventory:
name: "Demo Inventory"
organization: Default
- name: Assure that demo job template exists
tower_job_template:
name: "Demo Job Template"
project: "Demo Project"
inventory: "Demo Inventory"
playbook: "hello_world.yml"