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 3e1997a..8bce8b2 100644 --- a/tasks/rabbitmq_users.yml +++ b/tasks/rabbitmq_users.yml | |||
@@ -10,7 +10,7 @@ | |||
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: (rabbitmq_enable_clustering is defined and not rabbitmq_enable_clustering) or rabbitmq_enable_clustering is not defined |
14 | 14 | ||
15 | - name: rabbitmq_users | creating rabbitmq users | 15 | - name: rabbitmq_users | creating rabbitmq users |
16 | rabbitmq_user: | 16 | rabbitmq_user: |
@@ -24,4 +24,4 @@ | |||
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: (rabbitmq_enable_clustering is defined and rabbitmq_enable_clustering) |