From f691dbc6f7b6d686012fce2f4f6ce59d4549d0fe Mon Sep 17 00:00:00 2001 From: "carey.xu" Date: Fri, 4 Dec 2015 09:33:48 +0800 Subject: rabbitmq script refactor JIRA: COMPASS-177 Change-Id: I66698ac27a974c9c375e8da9fcb91f49f89227ed Signed-off-by: carey.xu --- deploy/adapters/ansible/roles/mq/tasks/main.yml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'deploy/adapters/ansible/roles/mq/tasks/main.yml') diff --git a/deploy/adapters/ansible/roles/mq/tasks/main.yml b/deploy/adapters/ansible/roles/mq/tasks/main.yml index 47e41a25..84d4a94e 100644 --- a/deploy/adapters/ansible/roles/mq/tasks/main.yml +++ b/deploy/adapters/ansible/roles/mq/tasks/main.yml @@ -1,6 +1,7 @@ --- - include_vars: "{{ ansible_os_family }}.yml" -- include: rabbitmq.yml -#- include: rabbitmq_cluster.yml -# when: HA_CLUSTER is defined +- include: rabbitmq_install.yml + +- include: rabbitmq_config.yml + when: inventory_hostname == haproxy_hosts.keys()[0] -- cgit 1.2.3-korg