diff --git a/mongodb-org-3/tasks/mongodb.yml b/mongodb-org-3/tasks/mongodb.yml index 2524e6d3..8fb09895 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