mongodb service now called mongod

This commit is contained in:
Tommaso Piccioli 2015-10-13 14:21:13 +02:00
parent fba1189ca8
commit 4170cef4b2
1 changed files with 3 additions and 3 deletions

View File

@ -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