Skip to content

Commit

Permalink
fix when condition on init_container_image_version check
Browse files Browse the repository at this point in the history
  • Loading branch information
bartowl authored and TheRealHaoLiu committed Mar 7, 2024
1 parent e043f4b commit ef6c0a5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions roles/installer/tasks/set_images.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@
set_fact:
_custom_init_container_image: "{{ init_container_image }}:{{ init_container_image_version }}"
when:
- init_container_image | default([]) | length
- init_container_image_version is defined or init_container_image_version != ''
- init_container_image | default('_undefined',true) != '_undefined'
- init_container_image_version | default('_undefined',true) != '_undefined'

- name: Set Init image URL
set_fact:
Expand Down

0 comments on commit ef6c0a5

Please sign in to comment.