Skip to content

Commit 17bd2dd

Browse files
committed
Fix ansible 2.2 compatibility and idempotancy
1 parent 24b2dcc commit 17bd2dd

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

tasks/federation.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,11 +17,12 @@
1717
name={{ item.name }}
1818
vhost={{ item.vhost | default('/', false) }}
1919
value=" {{ item.value }} "
20-
with_items: rabbitmq_federation_configuration
20+
with_items: "{{rabbitmq_federation_configuration}}"
2121

2222
- name: get the version of rabbitmq
2323
shell: rabbitmqctl status | awk '{print $NF}'
2424
register: rabbitmq_version
25+
changed_when: False
2526

2627
# local-username is no longer required with 3.3.0
2728
# http://www.rabbitmq.com/release-notes/README-3.3.0.txt

0 commit comments

Comments
 (0)