I've applied the patch it works fine except for 1 change: The "when" lines in the change need to be as follows:
when: inventory_hostname == groups['rabbitmq_all'][0] when: inventory_hostname != groups['rabbitmq_all'][0]
Otherwise you get:
fatal: [node1_rabbit_mq_container-7a62b615] => error while evaluating conditional: inventory_hostname == rabbitmq_all[0]
Still need to test the icehouse/juno version but LGTM.
I've applied the patch it works fine except for 1 change:
The "when" lines in the change need to be as follows:
when: inventory_hostname == groups[ 'rabbitmq_ all'][0] 'rabbitmq_ all'][0]
when: inventory_hostname != groups[
Otherwise you get:
fatal: [node1_ rabbit_ mq_container- 7a62b615] => error while evaluating conditional: inventory_hostname == rabbitmq_all[0]
Still need to test the icehouse/juno version but LGTM.