mirror of
https://github.com/status-im/ansible-role-mongodb.git
synced 2025-01-09 13:05:45 +00:00
21 lines
550 B
YAML
21 lines
550 B
YAML
---
|
|
|
|
- name: mongodb reload
|
|
service: name={{ mongodb_daemon_name }} state=reloaded
|
|
when: mongodb_manage_service
|
|
|
|
- name: mongodb restart
|
|
service: name={{ mongodb_daemon_name }} state=restarted
|
|
when: mongodb_manage_service
|
|
|
|
- name: mongodb-mms-monitoring-agent restart
|
|
service: name=mongodb-mms-monitoring-agent state=restarted
|
|
when: mongodb_manage_service
|
|
|
|
- name: reload systemd
|
|
shell: systemctl daemon-reload
|
|
when: mongodb_is_systemd and mongodb_manage_service
|
|
|
|
- name: restart sysfsutils
|
|
service: name=sysfsutils state=restarted
|