Merge "Fix service restart when using tags"
This commit is contained in:
commit
08ae98bd66
@ -74,8 +74,13 @@
|
|||||||
tags:
|
tags:
|
||||||
- rabbitmq-config
|
- rabbitmq-config
|
||||||
|
|
||||||
- include_tasks: rabbitmq_restart.yml
|
- include_tasks:
|
||||||
when: rabbit_config is changed or rabbitmq_plugin is changed or cookie_set is changed or rabbitmq_upgrade | bool
|
file: rabbitmq_restart.yml
|
||||||
|
apply:
|
||||||
|
tags: rabbitmq-config
|
||||||
|
when: rabbit_config is changed or rabbitmq_plugin is changed or (cookie_set is defined and cookie_set is changed) or rabbitmq_upgrade | bool
|
||||||
|
tags:
|
||||||
|
- rabbitmq-config
|
||||||
|
|
||||||
- name: Apply rabbitmq policies
|
- name: Apply rabbitmq policies
|
||||||
community.rabbitmq.rabbitmq_policy:
|
community.rabbitmq.rabbitmq_policy:
|
||||||
@ -90,8 +95,13 @@
|
|||||||
- rabbitmq-config
|
- rabbitmq-config
|
||||||
- rabbitmq-cluster
|
- rabbitmq-cluster
|
||||||
|
|
||||||
- include_tasks: rabbitmq_restart.yml
|
- include_tasks:
|
||||||
|
file: rabbitmq_restart.yml
|
||||||
|
apply:
|
||||||
|
tags: rabbitmq-config
|
||||||
when: rabbitmq_policy is changed
|
when: rabbitmq_policy is changed
|
||||||
|
tags:
|
||||||
|
- rabbitmq-config
|
||||||
|
|
||||||
# This is being done because the rabbitctl command used by the module
|
# This is being done because the rabbitctl command used by the module
|
||||||
# is not very effective at returning proper status codes for failure
|
# is not very effective at returning proper status codes for failure
|
||||||
|
Loading…
Reference in New Issue
Block a user