start mongodb
This commit is contained in:
parent
931fabc9fb
commit
683ded1821
@ -17,5 +17,12 @@
|
|||||||
state: latest
|
state: latest
|
||||||
notify:
|
notify:
|
||||||
- mongod_restart
|
- mongod_restart
|
||||||
|
|
||||||
|
- name: Make sure mongodb is running
|
||||||
|
systemd:
|
||||||
|
name: mongod
|
||||||
|
state: started
|
||||||
|
enabled: yes
|
||||||
|
daemon_reload: yes
|
||||||
become: True
|
become: True
|
||||||
become_user: root
|
become_user: root
|
||||||
|
Loading…
Reference in New Issue
Block a user