diff options
author | Devan Goodwin <dgoodwin@redhat.com> | 2016-06-10 10:21:19 -0300 |
---|---|---|
committer | Devan Goodwin <dgoodwin@redhat.com> | 2016-06-10 10:42:07 -0300 |
commit | 755a48c4ebf1061ce19892e5378fba769027bfc1 (patch) | |
tree | 182db7335a8e6c0182d19f23a00ce7f871c9569e /roles/openshift_version | |
parent | bcf414e8b559d35909f26420d9e7dec3cd0a1897 (diff) | |
download | openshift-755a48c4ebf1061ce19892e5378fba769027bfc1.tar.gz openshift-755a48c4ebf1061ce19892e5378fba769027bfc1.tar.bz2 openshift-755a48c4ebf1061ce19892e5378fba769027bfc1.tar.xz openshift-755a48c4ebf1061ce19892e5378fba769027bfc1.zip |
Fix version unset bug, and set common ver fact on containerized nodes.
Diffstat (limited to 'roles/openshift_version')
-rw-r--r-- | roles/openshift_version/tasks/main.yml | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/roles/openshift_version/tasks/main.yml b/roles/openshift_version/tasks/main.yml index 39accf579..29724a9e5 100644 --- a/roles/openshift_version/tasks/main.yml +++ b/roles/openshift_version/tasks/main.yml @@ -4,6 +4,11 @@ - set_fact: is_containerized: "{{ openshift.common.is_containerized | default(False) | bool }}" +# Make sure we copy this to a fact if given a var: +- set_fact: + openshift_version: "{{ openshift_version }}" + when: openshift_version is defined + - debug: var=openshift_version - debug: var=openshift_release - debug: var=openshift_pkg_version |