adding workshop_type filters
This commit is contained in:
@@ -26,6 +26,7 @@
|
|||||||
tower_host: "{{my_tower_host}}"
|
tower_host: "{{my_tower_host}}"
|
||||||
validate_certs: no
|
validate_certs: no
|
||||||
when:
|
when:
|
||||||
|
- workshop_type in item.value.workshop_type
|
||||||
- not item.value.survey_enabled
|
- not item.value.survey_enabled
|
||||||
|
|
||||||
- name: "add job template {{item.value.name}} with survey"
|
- name: "add job template {{item.value.name}} with survey"
|
||||||
@@ -45,4 +46,5 @@
|
|||||||
tower_host: "{{my_tower_host}}"
|
tower_host: "{{my_tower_host}}"
|
||||||
validate_certs: no
|
validate_certs: no
|
||||||
when:
|
when:
|
||||||
|
- workshop_type in item.value.workshop_type
|
||||||
- item.value.survey_enabled
|
- item.value.survey_enabled
|
||||||
|
|||||||
@@ -26,6 +26,7 @@
|
|||||||
tower_host: "{{my_tower_host}}"
|
tower_host: "{{my_tower_host}}"
|
||||||
validate_certs: no
|
validate_certs: no
|
||||||
when:
|
when:
|
||||||
|
- workshop_type in item.value.workshop_type
|
||||||
- not hostvars.localhost[demo].survey_enabled
|
- not hostvars.localhost[demo].survey_enabled
|
||||||
|
|
||||||
- name: add single job template with survey
|
- name: add single job template with survey
|
||||||
@@ -45,4 +46,5 @@
|
|||||||
tower_host: "{{my_tower_host}}"
|
tower_host: "{{my_tower_host}}"
|
||||||
validate_certs: no
|
validate_certs: no
|
||||||
when:
|
when:
|
||||||
|
- workshop_type in item.value.workshop_type
|
||||||
- hostvars.localhost[demo].survey_enabled
|
- hostvars.localhost[demo].survey_enabled
|
||||||
|
|||||||
Reference in New Issue
Block a user