From 4170cef4b2078d5a96771ca0880454669848f140 Mon Sep 17 00:00:00 2001 From: "tommaso.piccioli" Date: Tue, 13 Oct 2015 14:21:13 +0200 Subject: [PATCH] mongodb service now called mongod --- mongodb-org/tasks/main.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/mongodb-org/tasks/main.yml b/mongodb-org/tasks/main.yml index fc9aab81..bb38f6fe 100644 --- a/mongodb-org/tasks/main.yml +++ b/mongodb-org/tasks/main.yml @@ -37,12 +37,12 @@ tags: mongodb - name: Ensure mongodb is started - service: name=mongodb state=started enabled=yes + service: name=mongod state=started enabled=yes when: ( mongodb_start_server is defined ) and ( mongodb_start_server == 'yes' ) and ( mongodb_install_conf ) tags: mongodb -- name: Ensure mongodb is stopped and disabled - service: name=mongodb state=stopped enabled=no +- 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 ) tags: mongodb