This commit is contained in:
ipvsean
2020-02-25 10:21:26 -05:00
parent fea4d61a04
commit 544d6fde86
2 changed files with 18 additions and 20 deletions

View File

@@ -4,10 +4,11 @@ demos:
job_type: "run" job_type: "run"
inventory: "Workshop Inventory" inventory: "Workshop Inventory"
project: "Ansible official demo project" project: "Ansible official demo project"
playbook: "01_deploy_application.yml" playbook: "playbooks/01_deploy_application.yml"
credential: "Demo Credential" credential: "Demo Credential"
survey_enabled: yes survey_enabled: no
survey_spec: "{{ lookup('file', 'my_survey.json') }}" survey_spec: "none=none"
# survey_spec: "{{ lookup('file', 'my_survey.json') }}"
workshop_type: workshop_type:
- f5 - f5
- rhel - rhel

View File

@@ -11,20 +11,17 @@
tower_host: "{{my_tower_host}}" tower_host: "{{my_tower_host}}"
validate_certs: no validate_certs: no
- name: print out values - name: add deploy application job template
debug: tower_job_template:
msg: "{{demos["demo"].name}}" name: "{{demos[demo].name}}"
# - name: add deploy application job template job_type: "{{demos[demo].job_type}}"
# tower_job_template: inventory: "{{demos[demo].inventory}}"
# name: "{{demos["demo"].name}}" project: "{{demos[demo].project}}"
# job_type: "{{job_type}}" playbook: "{{demos[demo].playbook}}"
# inventory: "{{inventory}}" credential: "{{demos[demo].credential}}"
# project: "{{project}}" survey_enabled: "{{demos[demo].survey_enabled}}"
# playbook: "{{playbook}}" survey_spec: "{{demos[demo].survey_spec}}"
# credential: "{{credential}}" tower_username: "{{my_tower_username}}"
# survey_enabled: "{{survey_enabled}}" tower_password: "{{my_tower_password}}"
# survey_spec: "{{survey_spec}}" tower_host: "{{my_tower_host}}"
# tower_username: "{{my_tower_username}}" validate_certs: no
# tower_password: "{{my_tower_password}}"
# tower_host: "{{my_tower_host}}"
# validate_certs: no