diff options
author | Andrew Butcher <abutcher@redhat.com> | 2016-05-12 17:19:09 -0400 |
---|---|---|
committer | Andrew Butcher <abutcher@redhat.com> | 2016-05-12 17:19:09 -0400 |
commit | a79d25b64bca2b95fb5cb2c2420fd9d10bfd1337 (patch) | |
tree | 11af602d97c169cc0d2fa4a2f59bd4d7d79866d4 /playbooks/common | |
parent | 3761fe0f2837d5b74b56cca2ed6a7ad465e77df2 (diff) | |
download | openshift-a79d25b64bca2b95fb5cb2c2420fd9d10bfd1337.tar.gz openshift-a79d25b64bca2b95fb5cb2c2420fd9d10bfd1337.tar.bz2 openshift-a79d25b64bca2b95fb5cb2c2420fd9d10bfd1337.tar.xz openshift-a79d25b64bca2b95fb5cb2c2420fd9d10bfd1337.zip |
Block upgrading w/ ansible v2.
Diffstat (limited to 'playbooks/common')
-rw-r--r-- | playbooks/common/openshift-cluster/upgrades/v3_0_minor/upgrade.yml | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/playbooks/common/openshift-cluster/upgrades/v3_0_minor/upgrade.yml b/playbooks/common/openshift-cluster/upgrades/v3_0_minor/upgrade.yml index 51b108f6a..5b2bf9f93 100644 --- a/playbooks/common/openshift-cluster/upgrades/v3_0_minor/upgrade.yml +++ b/playbooks/common/openshift-cluster/upgrades/v3_0_minor/upgrade.yml @@ -36,7 +36,8 @@ - name: Ensure AOS 3.0.2 or Origin 1.0.6 hosts: oo_first_master tasks: - fail: This playbook requires Origin 1.0.6 or Atomic OpenShift 3.0.2 or later + - fail: + msg: "This playbook requires Origin 1.0.6 or Atomic OpenShift 3.0.2 or later" when: _new_version.stdout | version_compare('1.0.6','<') or ( _new_version.stdout | version_compare('3.0','>=' and _new_version.stdout | version_compare('3.0.2','<') ) - name: Update cluster policy |