use service instead of systemd

This commit is contained in:
Robert Kaussow 2018-07-10 22:56:33 +02:00
parent fc2696f78b
commit 80be45f5d3

View File

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