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