diff options
author | Dmitri <dz@stackstorm.com> | 2016-11-25 22:31:51 -0800 |
---|---|---|
committer | Dmitri <dz@stackstorm.com> | 2016-11-25 22:31:51 -0800 |
commit | ba5539ac53425365b3b8b0651dd0d42c6fed45fe (patch) | |
tree | d8d460965b5f62c373cb4e531f52bf4340106a0e /tasks/rabbitmq_users.yml | |
parent | 2922c75a7fce9ba62d1d78a50bca7f14e707cd9d (diff) | |
download | ansible-rabbitmq-ba5539ac53425365b3b8b0651dd0d42c6fed45fe.tar.gz ansible-rabbitmq-ba5539ac53425365b3b8b0651dd0d42c6fed45fe.tar.zst ansible-rabbitmq-ba5539ac53425365b3b8b0651dd0d42c6fed45fe.zip |
Fix with_items argument
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) |