Fix of rabbitmq_policy irrelevant node

For LXC containers there was an issue, that _oslomsg_rpc_setup_host
was not present in hosts file. This resulted in broken roles.
Removing node from task will connect to the default node.

Change-Id: I0ce201dc09327001966e1eecc15507542f0cb507
This commit is contained in:
Dmitriy Rabotjagov 2019-04-17 18:47:34 +03:00 committed by Dmitriy Rabotjagov (noonedeadpunk)
parent 4d2dcbdb5a
commit e4dc9aa02c
1 changed files with 0 additions and 2 deletions

View File

@ -35,7 +35,6 @@
- name: Apply RPC RabbitMQ vhost policies
rabbitmq_policy:
node: "rabbit@{{ _oslomsg_rpc_setup_host }}"
name: "{{ item.name }}"
pattern: "{{ item.pattern }}"
priority: "{{ item.priority | default(0) }}"
@ -72,7 +71,6 @@
- name: Apply Notify RabbitMQ vhost policies
rabbitmq_policy:
node: "rabbit@{{ _oslomsg_notify_setup_host }}"
name: "{{ item.name }}"
pattern: "{{ item.pattern }}"
priority: "{{ item.priority | default(0) }}"