Commit 46e0dffe by Fred Smith

Merge pull request #1659 from edx/derf/mongo_version_check_should_give_better_errors_on_failure

mongo version check should give better errors on failure
parents 5c79dbf5 c7bd9e31
...@@ -5,7 +5,7 @@ ...@@ -5,7 +5,7 @@
register: mongodb_needs_upgrade register: mongodb_needs_upgrade
- name: verify 2.4 not installed - name: verify 2.4 not installed
fail: msg="MongoDB 2.4 is currently installed. Check http://docs.mongodb.org/manual/release-notes/2.6-upgrade/#upgrade-considerations - automated upgrade to follow" fail: msg="MongoDB 2.4 is currently installed. If on a stand alone host (devstack), apt-get remove mongodb-10gen and re-run ansible. if on a cluster, read http://docs.mongodb.org/manual/release-notes/2.6-upgrade/#upgrade-considerations and upgrade to 2.6."
when: mongodb_needs_upgrade.stat.exists when: mongodb_needs_upgrade.stat.exists
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment