aboutsummaryrefslogtreecommitdiffhomepage
path: root/tasks/rabbitmq_users.yml
diff options
context:
space:
mode:
authorPaul Bonaud <paul.bonaud@fretlink.com>2018-12-20 11:03:39 +0100
committerPaul Bonaud <paul.bonaud@fretlink.com>2018-12-20 11:25:37 +0100
commitfa6c482bae5ea36e52b575281feeab2649a8321f (patch)
tree9989385300c3a01eaae39ffcae38752cbab69230 /tasks/rabbitmq_users.yml
parentd58696271f166b50faa2705fdda6337c1ffb493c (diff)
downloadansible-rabbitmq-fa6c482bae5ea36e52b575281feeab2649a8321f.tar.gz
ansible-rabbitmq-fa6c482bae5ea36e52b575281feeab2649a8321f.tar.zst
ansible-rabbitmq-fa6c482bae5ea36e52b575281feeab2649a8321f.zip
clustering: make sure to delegate admin tasks to the master node
Diffstat (limited to 'tasks/rabbitmq_users.yml')
-rw-r--r--tasks/rabbitmq_users.yml1
1 files changed, 1 insertions, 0 deletions
diff --git a/tasks/rabbitmq_users.yml b/tasks/rabbitmq_users.yml
index 98e45e2..083c704 100644
--- a/tasks/rabbitmq_users.yml
+++ b/tasks/rabbitmq_users.yml
@@ -27,6 +27,7 @@
27 tags: "{{ item['tags'] }}" 27 tags: "{{ item['tags'] }}"
28 state: present 28 state: present
29 run_once: yes 29 run_once: yes
30 delegate_to: "{{ rabbitmq_master }}"
30 become: true 31 become: true
31 with_items: "{{ rabbitmq_users }}" 32 with_items: "{{ rabbitmq_users }}"
32 when: > 33 when: >