diff options
author | Jenkins <jenkins@review.openstack.org> | 2017-09-07 05:34:35 +0000 |
---|---|---|
committer | Gerrit Code Review <review@openstack.org> | 2017-09-07 05:34:35 +0000 |
commit | a38bd9eee95eecb6665d1529c3a24b33af50ed5a (patch) | |
tree | 724a6c85433bafa24dcbdb31176da645e81e91c6 /docker/services/database | |
parent | efe83884e087dd29bf0fcfff3e6f58080da28aaa (diff) | |
parent | e33d9181e4b75a54968b0821375a2564ff8ceab9 (diff) |
Merge "Containerized mongodb, disable by default, fix upgrade" into stable/pike
Diffstat (limited to 'docker/services/database')
-rw-r--r-- | docker/services/database/mongodb.yaml | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/docker/services/database/mongodb.yaml b/docker/services/database/mongodb.yaml index 9b5c5b8f..d6bba20b 100644 --- a/docker/services/database/mongodb.yaml +++ b/docker/services/database/mongodb.yaml @@ -157,6 +157,10 @@ outputs: metadata_settings: get_attr: [MongodbPuppetBase, role_data, metadata_settings] upgrade_tasks: + - name: Check for mongodb service + stat: path=/usr/lib/systemd/system/mongod.service + register: mongod_service - name: Stop and disable mongodb service tags: step2 service: name=mongod state=stopped enabled=no + when: mongod_service.stat.exists |