aboutsummaryrefslogtreecommitdiffhomepage
path: root/tasks/rabbitmq_ha_config.yml
diff options
context:
space:
mode:
authorLarry Smith Jr <mrlesmithjr@gmail.com>2018-12-19 09:52:51 -0500
committerLarry Smith Jr <mrlesmithjr@gmail.com>2018-12-20 00:56:13 -0500
commit2cf26261f48bbd3f172b8a529df25906822ff219 (patch)
tree98a98010684a74fb9045f87cc7c3acef599cc779 /tasks/rabbitmq_ha_config.yml
parent7437143766ca1584696fe6e828b25ed83930f478 (diff)
downloadansible-rabbitmq-2cf26261f48bbd3f172b8a529df25906822ff219.tar.gz
ansible-rabbitmq-2cf26261f48bbd3f172b8a529df25906822ff219.tar.zst
ansible-rabbitmq-2cf26261f48bbd3f172b8a529df25906822ff219.zip
First commit of refactoring
Diffstat (limited to 'tasks/rabbitmq_ha_config.yml')
-rw-r--r--tasks/rabbitmq_ha_config.yml16
1 files changed, 0 insertions, 16 deletions
diff --git a/tasks/rabbitmq_ha_config.yml b/tasks/rabbitmq_ha_config.yml
index cc31333..cea301c 100644
--- a/tasks/rabbitmq_ha_config.yml
+++ b/tasks/rabbitmq_ha_config.yml
@@ -13,22 +13,6 @@
13 notify: restart rabbitmq-server 13 notify: restart rabbitmq-server
14 when: not rabbitmqadmin_check['stat']['exists'] 14 when: not rabbitmqadmin_check['stat']['exists']
15 15
16# - name: rabbitmq_ha_config | install rabbitMQ admin
17# shell: wget http://guest:guest@localhost:15672/cli/rabbitmqadmin
18# become: true
19# when: not rabbitmqadmin_check['stat']['exists']
20
21# - name: rabbitmq_ha_config | moving the rabbitMQ Admin
22# shell: mv rabbitmqadmin /usr/sbin
23# become: true
24# when: not rabbitmqadmin_check['stat']['exists']
25
26# - name: rabbitmq_ha_config | making executable rabbitMQ Admin
27# shell: chmod +x /usr/sbin/rabbitmqadmin
28# notify: restart rabbitmq-server
29# become: true
30# when: not rabbitmqadmin_check['stat']['exists']
31
32- name: rabbitmq_ha_config | creating queue(s) 16- name: rabbitmq_ha_config | creating queue(s)
33 command: rabbitmqadmin declare queue name={{ item['queue_name'] }} durable={{ item['durable']|lower }} --vhost={{ item['vhost'] | default('/') }} 17 command: rabbitmqadmin declare queue name={{ item['queue_name'] }} durable={{ item['durable']|lower }} --vhost={{ item['vhost'] | default('/') }}
34 run_once: true 18 run_once: true