xoxys.mongodb/handlers/main.yml

9 lines
151 B
YAML

---
- name: Restart mongod service
systemd:
name: mongod
state: restarted
enabled: yes
daemon_reload: yes
listen: __mongod_restart