ansible/roles/rabbitmq/handlers/main.yaml

13 lines
263 B
YAML
Raw Normal View History

2022-08-30 12:50:44 +00:00
---
- name: reload rabbitmq
service:
name: "{{ rabbitmq_service_name }}"
state: reloaded
when: rabbitmq_service_enabled
- name: restart rabbitmq
service:
name: "{{ rabbitmq_service_name }}"
state: restarted
when: rabbitmq_service_enabled