2014-06-04 15:09:28 +00:00
|
|
|
---
|
|
|
|
|
2019-05-21 19:42:02 +00:00
|
|
|
- name: reload systemd
|
|
|
|
systemd:
|
|
|
|
daemon_reload: yes
|
|
|
|
when: ansible_service_mgr == "systemd" and mongodb_manage_service
|
|
|
|
|
2014-06-04 15:09:28 +00:00
|
|
|
- name: mongodb reload
|
2015-01-05 13:37:28 +00:00
|
|
|
service: name={{ mongodb_daemon_name }} state=reloaded
|
2015-04-06 21:37:34 +00:00
|
|
|
when: mongodb_manage_service
|
2014-06-04 15:09:28 +00:00
|
|
|
|
|
|
|
- name: mongodb restart
|
2015-01-05 13:37:28 +00:00
|
|
|
service: name={{ mongodb_daemon_name }} state=restarted
|
2015-04-06 21:37:34 +00:00
|
|
|
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
|
2015-04-06 21:37:34 +00:00
|
|
|
when: mongodb_manage_service
|
2015-02-25 07:57:36 +00:00
|
|
|
|
2015-06-16 11:33:22 +00:00
|
|
|
- name: restart sysfsutils
|
|
|
|
service: name=sysfsutils state=restarted
|