xoxys.mongodb/handlers/main.yml

9 lines
144 B
YAML

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