Made rabbitmq use host variables.

This commit is contained in:
Egon Rijpkema
2017-07-07 16:14:38 +02:00
parent ef2360f814
commit 19a9d1d75e
3 changed files with 15 additions and 4 deletions

View File

@ -8,9 +8,18 @@
mode: 644
owner: root
group: root
- name: install service file
command: systemctl daemon-reload
- name: make sure service is started
systemd:
name: rabbitmq.service
state: started
#- name: setup the cluster
# command: "docker exec -i rabbitmq.service {{ item }}"
# with_items:
# - rabbitmqctl stop_app
# - "rabbitmqctl join_cluster rabbit_openstack01@{{ hostname_node0 }}"
# - rabbitmqctl start_app