xoxys.mongodb/handlers/main.yml
2017-12-22 12:59:12 +01:00

10 lines
150 B
YAML

---
- name: Restart mongodb
systemd:
name: mongod
state: restarted
enabled: yes
daemon_reload: yes
listen:
- "mongod_restart"