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 98e45e2..f1d6e8c 100644 --- a/tasks/rabbitmq_users.yml +++ b/tasks/rabbitmq_users.yml | |||
@@ -7,7 +7,7 @@ | |||
7 | configure_priv: "{{ item['configure_priv'] }}" | 7 | configure_priv: "{{ item['configure_priv'] }}" |
8 | read_priv: "{{ item['read_priv'] }}" | 8 | read_priv: "{{ item['read_priv'] }}" |
9 | write_priv: "{{ item['write_priv'] }}" | 9 | write_priv: "{{ item['write_priv'] }}" |
10 | tags: "{{ item['tags'] }}" | 10 | tags: "{{ item['tags']|default(omit) }}" |
11 | state: present | 11 | state: present |
12 | become: true | 12 | become: true |
13 | with_items: "{{ rabbitmq_users }}" | 13 | with_items: "{{ rabbitmq_users }}" |
@@ -24,7 +24,7 @@ | |||
24 | configure_priv: "{{ item['configure_priv'] }}" | 24 | configure_priv: "{{ item['configure_priv'] }}" |
25 | read_priv: "{{ item['read_priv'] }}" | 25 | read_priv: "{{ item['read_priv'] }}" |
26 | write_priv: "{{ item['write_priv'] }}" | 26 | write_priv: "{{ item['write_priv'] }}" |
27 | tags: "{{ item['tags'] }}" | 27 | tags: "{{ item['tags']|default(omit) }}" |
28 | state: present | 28 | state: present |
29 | run_once: yes | 29 | run_once: yes |
30 | become: true | 30 | become: true |