Merge "validate-simple: Fix template conditional"

This commit is contained in:
Jenkins 2017-09-27 03:04:29 +00:00 committed by Gerrit Code Review
commit 2e794c09b9

View File

@ -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: