library/roles/mongodb-org-3/tasks/mongodb.yml: Fix a problem in the first task. We cannot stop a service that does not exist.

d4science-ghn-cluster/group_vars/sharelatex: Change some parameters.
This commit is contained in:
Andrea Dell'Amico 2017-01-13 15:32:52 +01:00
parent 3c28bed9ec
commit 4457e78aea
1 changed files with 1 additions and 0 deletions

View File

@ -2,6 +2,7 @@
- name: Ensure mongod is stopped and disabled - name: Ensure mongod is stopped and disabled
service: name=mongod state=stopped enabled=no service: name=mongod state=stopped enabled=no
when: ( mongodb_start_server is defined ) and ( mongodb_start_server == 'no' ) and ( mongodb_install_conf ) when: ( mongodb_start_server is defined ) and ( mongodb_start_server == 'no' ) and ( mongodb_install_conf )
ignore_errors: True
tags: mongodb tags: mongodb
- name: Install the mongodb apt key - name: Install the mongodb apt key