mongodb service now called mongod
This commit is contained in:
parent
fba1189ca8
commit
4170cef4b2
|
@ -37,12 +37,12 @@
|
||||||
tags: mongodb
|
tags: mongodb
|
||||||
|
|
||||||
- name: Ensure mongodb is started
|
- 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 )
|
when: ( mongodb_start_server is defined ) and ( mongodb_start_server == 'yes' ) and ( mongodb_install_conf )
|
||||||
tags: mongodb
|
tags: mongodb
|
||||||
|
|
||||||
- name: Ensure mongodb is stopped and disabled
|
- name: Ensure mongod is stopped and disabled
|
||||||
service: name=mongodb state=stopped enabled=no
|
service: name=mongod state=stopped enabled=no
|
||||||
when: ( mongodb_start_server is defined ) and ( mongodb_start_server == 'no' ) and ( mongodb_install_conf )
|
when: ( mongodb_start_server is defined ) and ( mongodb_start_server == 'no' ) and ( mongodb_install_conf )
|
||||||
tags: mongodb
|
tags: mongodb
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue