simplify if condition for "Set node_images.include_file"

pull/11202/head
Payback159 2024-10-12 14:15:28 +02:00
parent 36d226a8e1
commit c86a53df0d
1 changed files with 1 additions and 1 deletions

View File

@ -44,7 +44,7 @@
- name: Download | Set node_images - name: Download | Set node_images
include_tasks: "{{ include_file }}" include_tasks: "{{ include_file }}"
vars: 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 - name: Download | Show node images
debug: debug:
msg: "{{ node_images }}" msg: "{{ node_images }}"