Merge "Remove hard-coded host group"

This commit is contained in:
Jenkins 2016-11-02 19:55:02 +00:00 committed by Gerrit Code Review
commit d084e956d4

View File

@ -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