diff options
author | Devan Goodwin <dgoodwin@redhat.com> | 2016-07-20 08:33:49 -0300 |
---|---|---|
committer | Devan Goodwin <dgoodwin@redhat.com> | 2016-07-20 08:33:49 -0300 |
commit | 223d453e9c0dfef9021be8cbe3bf50f59d84aa52 (patch) | |
tree | e2540ad2057744e8104b0246fe7e4b00ef734a91 /roles/openshift_version/tasks | |
parent | 39bc207ab2f60570c6de35fbd86ae7d47ade4bd7 (diff) | |
download | openshift-223d453e9c0dfef9021be8cbe3bf50f59d84aa52.tar.gz openshift-223d453e9c0dfef9021be8cbe3bf50f59d84aa52.tar.bz2 openshift-223d453e9c0dfef9021be8cbe3bf50f59d84aa52.tar.xz openshift-223d453e9c0dfef9021be8cbe3bf50f59d84aa52.zip |
Slight modification to error when using mismatched openshift_release.
Diffstat (limited to 'roles/openshift_version/tasks')
-rw-r--r-- | roles/openshift_version/tasks/main.yml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/roles/openshift_version/tasks/main.yml b/roles/openshift_version/tasks/main.yml index d07fd5fbc..6e5d2b22c 100644 --- a/roles/openshift_version/tasks/main.yml +++ b/roles/openshift_version/tasks/main.yml @@ -76,7 +76,7 @@ # We can't map an openshift_release to full rpm version like we can with containers, make sure # the rpm version we looked up matches the release requested and error out if not. - fail: - msg: "Detected openshift version {{ openshift_version }} does not match requested openshift_release {{ openshift_release }}. You may need to adjust your yum repositories or specify an exact openshift_pkg_version." + msg: "Detected OpenShift version {{ openshift_version }} does not match requested openshift_release {{ openshift_release }}. You may need to adjust your yum repositories, inventory, or run the appropriate OpenShift upgrade playbook." when: not is_containerized | bool and openshift_release is defined and not openshift_version.startswith(openshift_release) | bool # The end result of these three variables is quite important so make sure they are displayed and logged: |