c377337673
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>
15 lines
319 B
YAML
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
|
|
|
|
|