xoxys.mongodb/handlers/main.yml

10 lines
159 B
YAML

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