Browse Source

simplify if condition for "Set node_images.include_file"

pull/11202/head
Payback159 1 month ago
parent
commit
c86a53df0d
1 changed files with 1 additions and 1 deletions
  1. 2
      roles/download/tasks/main.yml

2
roles/download/tasks/main.yml

@ -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…
Cancel
Save