diff options
Diffstat (limited to 'tasks/rabbitmq_users.yml')
-rw-r--r-- | tasks/rabbitmq_users.yml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tasks/rabbitmq_users.yml b/tasks/rabbitmq_users.yml index e14d390..3e1997a 100644 --- a/tasks/rabbitmq_users.yml +++ b/tasks/rabbitmq_users.yml | |||
@@ -9,7 +9,7 @@ | |||
9 | write_priv: "{{ item.write_priv }}" | 9 | write_priv: "{{ item.write_priv }}" |
10 | tags: "{{ item.tags }}" | 10 | tags: "{{ item.tags }}" |
11 | state: present | 11 | state: present |
12 | with_items: rabbitmq_users | 12 | with_items: "{{ rabbitmq_users }}" |
13 | when: (enable_rabbitmq_clustering is defined and not enable_rabbitmq_clustering) or enable_rabbitmq_clustering is not defined | 13 | when: (enable_rabbitmq_clustering is defined and not enable_rabbitmq_clustering) or enable_rabbitmq_clustering is not defined |
14 | 14 | ||
15 | - name: rabbitmq_users | creating rabbitmq users | 15 | - name: rabbitmq_users | creating rabbitmq users |
@@ -23,5 +23,5 @@ | |||
23 | tags: "{{ item.tags }}" | 23 | tags: "{{ item.tags }}" |
24 | state: present | 24 | state: present |
25 | run_once: yes | 25 | run_once: yes |
26 | with_items: rabbitmq_users | 26 | with_items: "{{ rabbitmq_users }}" |
27 | when: (enable_rabbitmq_clustering is defined and enable_rabbitmq_clustering) | 27 | when: (enable_rabbitmq_clustering is defined and enable_rabbitmq_clustering) |