aboutsummaryrefslogtreecommitdiffhomepage
path: root/tasks/rabbitmq_users.yml
diff options
context:
space:
mode:
authorLarry Smith Jr <mrlesmithjr@gmail.com>2016-12-03 17:50:41 -0500
committerLarry Smith Jr <mrlesmithjr@gmail.com>2016-12-03 17:50:41 -0500
commit8f8673fb8dfa2bd4fa2694cbfdcb6eed54e502de (patch)
treeaaaf71ac94a4bd065cefd8b3c75603efe3703d89 /tasks/rabbitmq_users.yml
parentda8e343df912e94703a8094f5e62d4c1bcc57345 (diff)
downloadansible-rabbitmq-8f8673fb8dfa2bd4fa2694cbfdcb6eed54e502de.tar.gz
ansible-rabbitmq-8f8673fb8dfa2bd4fa2694cbfdcb6eed54e502de.tar.zst
ansible-rabbitmq-8f8673fb8dfa2bd4fa2694cbfdcb6eed54e502de.zip
Updated gitignore
Signed-off-by: Larry Smith Jr <mrlesmithjr@gmail.com>
Diffstat (limited to 'tasks/rabbitmq_users.yml')
-rw-r--r--tasks/rabbitmq_users.yml27
1 files changed, 0 insertions, 27 deletions
diff --git a/tasks/rabbitmq_users.yml b/tasks/rabbitmq_users.yml
deleted file mode 100644
index 8bce8b2..0000000
--- a/tasks/rabbitmq_users.yml
+++ /dev/null
@@ -1,27 +0,0 @@
1---
2- name: rabbitmq_users | creating rabbitmq users
3 rabbitmq_user:
4 name: "{{ item.name }}"
5 password: "{{ item.password }}"
6 vhost: "{{ item.vhost }}"
7 configure_priv: "{{ item.configure_priv }}"
8 read_priv: "{{ item.read_priv }}"
9 write_priv: "{{ item.write_priv }}"
10 tags: "{{ item.tags }}"
11 state: present
12 with_items: "{{ rabbitmq_users }}"
13 when: (rabbitmq_enable_clustering is defined and not rabbitmq_enable_clustering) or rabbitmq_enable_clustering is not defined
14
15- name: rabbitmq_users | creating rabbitmq users
16 rabbitmq_user:
17 name: "{{ item.name }}"
18 password: "{{ item.password }}"
19 vhost: "{{ item.vhost }}"
20 configure_priv: "{{ item.configure_priv }}"
21 read_priv: "{{ item.read_priv }}"
22 write_priv: "{{ item.write_priv }}"
23 tags: "{{ item.tags }}"
24 state: present
25 run_once: yes
26 with_items: "{{ rabbitmq_users }}"
27 when: (rabbitmq_enable_clustering is defined and rabbitmq_enable_clustering)