|
@@ -68,12 +68,22 @@
|
|
|
# each of this variables *will* be set correctly and can use them per their
|
|
|
# intended purpose.
|
|
|
|
|
|
-- set_fact:
|
|
|
- openshift_image_tag: v{{ openshift_version }}
|
|
|
+- block:
|
|
|
+ - debug:
|
|
|
+ msg: "openshift_image_tag was not defined. Falling back to v{{ openshift_version }}"
|
|
|
+
|
|
|
+ - set_fact:
|
|
|
+ openshift_image_tag: v{{ openshift_version }}
|
|
|
+
|
|
|
when: openshift_image_tag is not defined
|
|
|
|
|
|
-- set_fact:
|
|
|
- openshift_pkg_version: -{{ openshift_version }}
|
|
|
+- block:
|
|
|
+ - debug:
|
|
|
+ msg: "openshift_pkg_version was not defined. Falling back to -{{ openshift_version }}"
|
|
|
+
|
|
|
+ - set_fact:
|
|
|
+ openshift_pkg_version: -{{ openshift_version }}
|
|
|
+
|
|
|
when: openshift_pkg_version is not defined
|
|
|
|
|
|
- fail:
|