ddc564d21f
Using rabbitmq service defined in default when boot rabbitmq_bootstrap. Not a bug here, just an enhancement. Change-Id: I79f0f7efe3308ed4eb898b85a6370be1bd637d9a
40 lines
1.3 KiB
YAML
40 lines
1.3 KiB
YAML
---
|
|
project_name: "rabbitmq"
|
|
|
|
rabbitmq_services:
|
|
rabbitmq:
|
|
container_name: "{{ project_name }}"
|
|
group: "{{ role_rabbitmq_groups }}"
|
|
enabled: true
|
|
image: "{{ rabbitmq_image_full }}"
|
|
bootstrap_environment:
|
|
KOLLA_BOOTSTRAP:
|
|
KOLLA_CONFIG_STRATEGY: "{{ config_strategy }}"
|
|
RABBITMQ_CLUSTER_COOKIE: "{{ role_rabbitmq_cluster_cookie }}"
|
|
RABBITMQ_LOG_DIR: "/var/log/kolla/{{ project_name }}"
|
|
environment:
|
|
KOLLA_CONFIG_STRATEGY: "{{ config_strategy }}"
|
|
RABBITMQ_CLUSTER_COOKIE: "{{ role_rabbitmq_cluster_cookie }}"
|
|
RABBITMQ_LOG_DIR: "/var/log/kolla/{{ project_name }}"
|
|
volumes:
|
|
- "{{ node_config_directory }}/{{ project_name }}/:{{ container_config_directory }}/:ro"
|
|
- "/etc/localtime:/etc/localtime:ro"
|
|
- "{{ project_name }}:/var/lib/rabbitmq/"
|
|
- "kolla_logs:/var/log/kolla/"
|
|
|
|
|
|
####################
|
|
# Docker
|
|
####################
|
|
rabbitmq_image: "{{ docker_registry ~ '/' if docker_registry else '' }}{{ docker_namespace }}/{{ kolla_base_distro }}-{{ kolla_install_type }}-rabbitmq"
|
|
rabbitmq_tag: "{{ openstack_release }}"
|
|
rabbitmq_image_full: "{{ rabbitmq_image }}:{{ rabbitmq_tag }}"
|
|
|
|
|
|
####################
|
|
# Message-Broker
|
|
####################
|
|
rabbitmq_user: "openstack"
|
|
rabbitmq_cluster_name: "openstack"
|
|
rabbitmq_hostname: "{{ ansible_hostname }}"
|