ansible-role-mongodb/handlers/main.yml

21 lines
550 B
YAML
Raw Normal View History

2014-06-04 15:09:28 +00:00
---
- name: mongodb reload
service: name={{ mongodb_daemon_name }} state=reloaded
when: mongodb_manage_service
2014-06-04 15:09:28 +00:00
- name: mongodb restart
service: name={{ mongodb_daemon_name }} state=restarted
when: mongodb_manage_service
2014-12-19 14:39:09 +00:00
2019-04-25 13:33:47 +00:00
- name: mongodb-mms-monitoring-agent restart
service: name=mongodb-mms-monitoring-agent state=restarted
when: mongodb_manage_service
2015-02-25 07:57:36 +00:00
- name: reload systemd
shell: systemctl daemon-reload
when: mongodb_is_systemd and mongodb_manage_service
- name: restart sysfsutils
service: name=sysfsutils state=restarted