Remove hard-coded host group
A previous commit added a hard-coded host group to rabbitmq-install.yml, instead of using the variable rabbitmq_host_group. This commit updates rabbitmq-install.yml to use rabbitmq_host_group instead. Change-Id: I4c4f8d0b903cc56ed025b7223b52d3205d9c9d37
This commit is contained in:
parent
2c6f0982ae
commit
97a5c6ae3a
@ -31,7 +31,7 @@
|
||||
# The cluster must be stopped when doing major/minor upgrades
|
||||
# http://www.rabbitmq.com/clustering.html#upgrading
|
||||
- name: Stop RabbitMQ nodes that are not the upgrader
|
||||
hosts: rabbitmq_all[1:]
|
||||
hosts: "{{ rabbitmq_host_group | default('rabbitmq_all') }}[1:]"
|
||||
serial: 1
|
||||
max_fail_percentage: 0
|
||||
user: root
|
||||
|
Loading…
Reference in New Issue
Block a user