simplify if condition for "Set node_images.include_file"
parent
36d226a8e1
commit
c86a53df0d
|
@ -44,7 +44,7 @@
|
|||
- name: Download | Set node_images
|
||||
include_tasks: "{{ include_file }}"
|
||||
vars:
|
||||
include_file: "set_node_facts{% if image_command_tool == 'crictl' %}_crictl{% else %}{% endif %}.yml"
|
||||
include_file: "set_node_facts{% if image_command_tool == 'crictl' %}_crictl{% endif %}.yml"
|
||||
- name: Download | Show node images
|
||||
debug:
|
||||
msg: "{{ node_images }}"
|
||||
|
|
Loading…
Reference in New Issue