Merge "validate-simple: Fix template conditional"
This commit is contained in:
commit
2e794c09b9
@ -8,12 +8,16 @@
|
|||||||
copy:
|
copy:
|
||||||
src: "tenantvm_floatingip.yaml"
|
src: "tenantvm_floatingip.yaml"
|
||||||
dest: "{{ working_dir }}/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
|
- name: Old THT workaround, override the template path
|
||||||
set_fact:
|
set_fact:
|
||||||
validate_template_path: "{{ working_dir }}"
|
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
|
- name: Create overcloud validate script
|
||||||
template:
|
template:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user