diff options
author | Larry Smith Jr <mrlesmithjr@gmail.com> | 2018-12-20 14:58:48 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-12-20 14:58:48 -0500 |
commit | ba3197ed9f9a1ddbb2acb9735449fac47c559e18 (patch) | |
tree | 04b37cd175796159cc9dadd7fb69f50a60214f4b /tasks/rabbitmq_users.yml | |
parent | 4352e35b29e9fcc0b0e3440e00e8ece4fd9b4348 (diff) | |
parent | fa6c482bae5ea36e52b575281feeab2649a8321f (diff) | |
download | ansible-rabbitmq-ba3197ed9f9a1ddbb2acb9735449fac47c559e18.tar.gz ansible-rabbitmq-ba3197ed9f9a1ddbb2acb9735449fac47c559e18.tar.zst ansible-rabbitmq-ba3197ed9f9a1ddbb2acb9735449fac47c559e18.zip |
Merge pull request #23 from paulrbr-fl/clustering-admin-tasks
clustering: make sure to delegate admin tasks to the master node
Diffstat (limited to 'tasks/rabbitmq_users.yml')
-rw-r--r-- | tasks/rabbitmq_users.yml | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tasks/rabbitmq_users.yml b/tasks/rabbitmq_users.yml index 82aa734..7bba65e 100644 --- a/tasks/rabbitmq_users.yml +++ b/tasks/rabbitmq_users.yml | |||
@@ -29,6 +29,7 @@ | |||
29 | permissions: "{{ item['permissions']|default(omit) }}" | 29 | permissions: "{{ item['permissions']|default(omit) }}" |
30 | state: present | 30 | state: present |
31 | run_once: yes | 31 | run_once: yes |
32 | delegate_to: "{{ rabbitmq_master }}" | ||
32 | become: true | 33 | become: true |
33 | with_items: "{{ rabbitmq_users }}" | 34 | with_items: "{{ rabbitmq_users }}" |
34 | when: > | 35 | when: > |