forked from ISTI-ansible-roles/ansible-roles
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:
parent
3c28bed9ec
commit
4457e78aea
|
@ -2,6 +2,7 @@
|
|||
- name: Ensure mongod is stopped and disabled
|
||||
service: name=mongod state=stopped enabled=no
|
||||
when: ( mongodb_start_server is defined ) and ( mongodb_start_server == 'no' ) and ( mongodb_install_conf )
|
||||
ignore_errors: True
|
||||
tags: mongodb
|
||||
|
||||
- name: Install the mongodb apt key
|
||||
|
|
Loading…
Reference in New Issue