Merge pull request #6174 from AlanCoding/collection_single_loop

Make demo data in tests, further refine templating loop

Reviewed-by: https://github.com/apps/softwarefactory-project-zuul
This commit is contained in:
softwarefactory-project-zuul[bot]
2020-03-11 18:19:31 +00:00
committed by GitHub
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"