diff options
author | Devan Goodwin <dgoodwin@redhat.com> | 2016-06-01 12:45:05 -0300 |
---|---|---|
committer | Devan Goodwin <dgoodwin@redhat.com> | 2016-06-01 12:45:05 -0300 |
commit | 87cf5935b0a480aa2b2f4333a48173ef0b44c749 (patch) | |
tree | 72755a06b2e9387e45440bbf50707e6bb7544bfd /roles/openshift_version/tasks/set_version_rpm.yml | |
parent | a5a736f4042abca402f7648a830968c205163a34 (diff) | |
download | openshift-87cf5935b0a480aa2b2f4333a48173ef0b44c749.tar.gz openshift-87cf5935b0a480aa2b2f4333a48173ef0b44c749.tar.bz2 openshift-87cf5935b0a480aa2b2f4333a48173ef0b44c749.tar.xz openshift-87cf5935b0a480aa2b2f4333a48173ef0b44c749.zip |
Fix installing release 3.1 not converting to precise version.
Diffstat (limited to 'roles/openshift_version/tasks/set_version_rpm.yml')
-rw-r--r-- | roles/openshift_version/tasks/set_version_rpm.yml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/roles/openshift_version/tasks/set_version_rpm.yml b/roles/openshift_version/tasks/set_version_rpm.yml index ab8f4b22f..b201f24d8 100644 --- a/roles/openshift_version/tasks/set_version_rpm.yml +++ b/roles/openshift_version/tasks/set_version_rpm.yml @@ -5,7 +5,7 @@ # Expects a leading "-" in inventory, strip it off here, and ignore a trailing release, # openshift_version should always just be "3.2" or "3.2.0.44" openshift_version: "{{ openshift_pkg_version[1:].split('-')[0] }}" - when: openshift_pkg_version is defined + when: openshift_pkg_version is defined and openshift_version is not defined # We do not have as fine grained control over version to install presently with rpms, # we just assume the user has configured the correct repos and install the rpm requested. |