Victor Chembaev 4cc4ba59da RabbitMQ handler refactored to restart services in serial
Change-Id: I1ff4cbdf3f60cb7fd5fe5d3c5d498e05fe2df79a
Closes-Bug: #1904702
2020-11-19 20:11:58 +03:00

11 lines
279 B
YAML

---
- name: Restart rabbitmq container
vars:
service_name: "rabbitmq"
service: "{{ rabbitmq_services[service_name] }}"
include_tasks: 'restart_services.yml'
when:
- kolla_action != "config"
- inventory_hostname == item
loop: "{{ groups[service.group] }}"