Merge "validate-simple: Fix template conditional"
This commit is contained in:
commit
2e794c09b9
@ -8,12 +8,16 @@
|
||||
copy:
|
||||
src: "tenantvm_floatingip.yaml"
|
||||
dest: "{{ working_dir }}/tenantvm_floatingip.yaml"
|
||||
when: template_check is defined and not template_check.stat.exists
|
||||
when:
|
||||
- validate_template == "tenantvm_floatingip.yaml"
|
||||
- not template_check.stat.exists
|
||||
|
||||
- name: Old THT workaround, override the template path
|
||||
set_fact:
|
||||
validate_template_path: "{{ working_dir }}"
|
||||
when: template_check is defined and not template_check.stat.exists
|
||||
when:
|
||||
- validate_template == "tenantvm_floatingip.yaml"
|
||||
- not template_check.stat.exists
|
||||
|
||||
- name: Create overcloud validate script
|
||||
template:
|
||||
|
Loading…
Reference in New Issue
Block a user