From 4457e78aeaed33da67e85223c0583cdb3227ebc6 Mon Sep 17 00:00:00 2001 From: Andrea Dell'Amico Date: Fri, 13 Jan 2017 15:32:52 +0100 Subject: [PATCH] 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. --- mongodb-org-3/tasks/mongodb.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/mongodb-org-3/tasks/mongodb.yml b/mongodb-org-3/tasks/mongodb.yml index 2524e6d..8fb0989 100644 --- a/mongodb-org-3/tasks/mongodb.yml +++ b/mongodb-org-3/tasks/mongodb.yml @@ -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