fixing data model so that demos and repos are not tied together
This commit is contained in:
@@ -8,6 +8,12 @@ demos:
|
||||
credential: "Workshop Credential"
|
||||
survey_enabled: yes
|
||||
survey_spec: "{{survey_deploy_application}}"
|
||||
project:
|
||||
name: "Ansible official demo project"
|
||||
description: "prescriptive demos from Red Hat Management Buisness Unit"
|
||||
organization: "Default"
|
||||
scm_type: git
|
||||
github_url: "https://github.com/ansible/product-demos"
|
||||
workshop_type:
|
||||
- f5
|
||||
- rhel
|
||||
@@ -19,6 +25,12 @@ demos:
|
||||
playbook: "playbooks/05_windows_iis.yml"
|
||||
credential: "Demo Credential"
|
||||
survey_enabled: no
|
||||
project:
|
||||
name: "Ansible official demo project"
|
||||
description: "prescriptive demos from Red Hat Management Buisness Unit"
|
||||
organization: "Default"
|
||||
scm_type: git
|
||||
github_url: "https://github.com/ansible/product-demos"
|
||||
workshop_type:
|
||||
- windows
|
||||
openscap:
|
||||
@@ -29,6 +41,12 @@ demos:
|
||||
playbook: "playbooks/10_openscap.yml"
|
||||
credential: "Workshop Credential"
|
||||
survey_enabled: no
|
||||
project:
|
||||
name: "Ansible official demo project"
|
||||
description: "prescriptive demos from Red Hat Management Buisness Unit"
|
||||
organization: "Default"
|
||||
scm_type: git
|
||||
github_url: "https://github.com/ansible/product-demos"
|
||||
workshop_type:
|
||||
- f5
|
||||
- rhel
|
||||
@@ -40,6 +58,12 @@ demos:
|
||||
playbook: "playbooks/11_developer_report.yml"
|
||||
credential: "Workshop Credential"
|
||||
survey_enabled: no
|
||||
project:
|
||||
name: "Ansible official demo project"
|
||||
description: "prescriptive demos from Red Hat Management Buisness Unit"
|
||||
organization: "Default"
|
||||
scm_type: git
|
||||
github_url: "https://github.com/ansible/product-demos"
|
||||
workshop_type:
|
||||
- f5
|
||||
- rhel
|
||||
|
||||
@@ -1,3 +1,15 @@
|
||||
- name: add tower project
|
||||
tower_project:
|
||||
name: "{{project.my_name}}"
|
||||
description: "{{project.my_description}}"
|
||||
organization: "{{project.my_organization}}"
|
||||
scm_type: "{{project.my_scm_type}}"
|
||||
scm_url: "{{project.my_scm_url}}"
|
||||
tower_username: "{{my_tower_username}}"
|
||||
tower_password: "{{my_tower_password}}"
|
||||
tower_host: "{{my_tower_host}}"
|
||||
validate_certs: no
|
||||
|
||||
- name: add job template without survey
|
||||
tower_job_template:
|
||||
name: "{{item.value.name}}"
|
||||
|
||||
@@ -1,15 +1,7 @@
|
||||
---
|
||||
- name: add tower project
|
||||
tower_project:
|
||||
name: "Ansible official demo project"
|
||||
description: "prescriptive demos from Red Hat Management Buisness Unit"
|
||||
organization: "Default"
|
||||
scm_type: git
|
||||
scm_url: https://github.com/ansible/product-demos
|
||||
tower_username: "{{my_tower_username}}"
|
||||
tower_password: "{{my_tower_password}}"
|
||||
tower_host: "{{my_tower_host}}"
|
||||
validate_certs: no
|
||||
- name: provide info to terminal window
|
||||
debug:
|
||||
msg: "install {{demo}} on {{my_tower_host}}"
|
||||
|
||||
- name: install all job templates
|
||||
include: add_job_template.yml
|
||||
|
||||
@@ -1,3 +1,15 @@
|
||||
- name: add tower project
|
||||
tower_project:
|
||||
name: "{{project.my_name}}"
|
||||
description: "{{project.my_description}}"
|
||||
organization: "{{project.my_organization}}"
|
||||
scm_type: "{{project.my_scm_type}}"
|
||||
scm_url: "{{project.my_scm_url}}"
|
||||
tower_username: "{{my_tower_username}}"
|
||||
tower_password: "{{my_tower_password}}"
|
||||
tower_host: "{{my_tower_host}}"
|
||||
validate_certs: no
|
||||
|
||||
- name: add single job template without survey
|
||||
tower_job_template:
|
||||
name: "{{demos[demo].name}}"
|
||||
|
||||
Reference in New Issue
Block a user