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