Przeglądaj źródła

allow 'latest' origin_image_tag

Seth Jennings 8 lat temu
rodzic
commit
5616098e8f
1 zmienionych plików z 1 dodań i 1 usunięć
  1. 1 1
      roles/openshift_version/tasks/main.yml

+ 1 - 1
roles/openshift_version/tasks/main.yml

@@ -22,7 +22,7 @@
 
 - set_fact:
     openshift_image_tag: "{{ 'v' + openshift_image_tag }}"
-  when: openshift_image_tag is defined and openshift_image_tag[0] != 'v'
+  when: openshift_image_tag is defined and openshift_image_tag[0] != 'v' and openshift_image_tag != 'latest'
 
 - set_fact:
     openshift_pkg_version: "{{ '-' + openshift_pkg_version }}"