use service instead of systemd
This commit is contained in:
parent
fc2696f78b
commit
80be45f5d3
@ -8,7 +8,7 @@
|
|||||||
notify: __mongod_restart
|
notify: __mongod_restart
|
||||||
|
|
||||||
- name: Make sure mongodb is up and running
|
- name: Make sure mongodb is up and running
|
||||||
systemd:
|
service:
|
||||||
name: mongod
|
name: mongod
|
||||||
state: started
|
state: started
|
||||||
enabled: yes
|
enabled: yes
|
||||||
|
Loading…
Reference in New Issue
Block a user