tripleo-quickstart-extras/roles/baremetal-prep-overcloud/tasks/install-upstream-ipxe.yml
Gael Chamoulaud c377337673 Fix unqualified Ansible boolean variables
When using boolean variables in conditional tests, those variables
should be filtered as '|bool'. Otherwise, they are being evaluated as
a string and return True in any case.

Change-Id: I1e3642cb2d33d839e4808ae79ae991175e32dd0f
Signed-off-by: Gael Chamoulaud <gchamoul@redhat.com>
2017-04-05 16:25:53 +02:00

15 lines
319 B
YAML

---
- name: Copy install upstream ipxe script template
template:
src: install-upstream-ipxe.sh.j2
dest: "{{ working_dir }}/install-upstream-ipxe.sh"
mode: 0755
- name: Run install upstream ipxe script
shell: >
"{{ working_dir }}"/install-upstream-ipxe.sh
when: step_install_upstream_ipxe|bool