b63ecd7e3e
through the database_address has beed defined in groups_vars/all.yml, we should better use it, this way, if we want to use external database, we just need to redefined in all.yml refer to https://github.com/openstack/kolla-ansible/blob/master/ansible/group_vars/all.yml#L83 Co-Authored-By: chenqiaomin <chen.qiaomin@99cloud.net> Change-Id: Ie559301451954e16347ceaabf02f594c5c5cbe56
129 lines
5.6 KiB
YAML
129 lines
5.6 KiB
YAML
---
|
|
project_name: "designate"
|
|
|
|
designate_services:
|
|
designate-api:
|
|
container_name: designate_api
|
|
group: designate-api
|
|
enabled: true
|
|
image: "{{ designate_api_image_full }}"
|
|
volumes:
|
|
- "{{ node_config_directory }}/designate-api/:{{ container_config_directory }}/:ro"
|
|
- "/etc/localtime:/etc/localtime:ro"
|
|
- "kolla_logs:/var/log/kolla/"
|
|
designate-backend-bind9:
|
|
container_name: designate_backend_bind9
|
|
group: designate-backend-bind9
|
|
enabled: "{{ designate_backend == 'bind9' }}"
|
|
image: "{{ designate_backend_bind9_image_full }}"
|
|
volumes:
|
|
- "{{ node_config_directory }}/designate-backend-bind9/:{{ container_config_directory }}/:ro"
|
|
- "/etc/localtime:/etc/localtime:ro"
|
|
- "kolla_logs:/var/log/kolla/"
|
|
- "designate_backend_bind9:/var/lib/named/"
|
|
designate-central:
|
|
container_name: designate_central
|
|
group: designate-central
|
|
enabled: true
|
|
image: "{{ designate_central_image_full }}"
|
|
volumes:
|
|
- "{{ node_config_directory }}/designate-central/:{{ container_config_directory }}/:ro"
|
|
- "/etc/localtime:/etc/localtime:ro"
|
|
- "kolla_logs:/var/log/kolla/"
|
|
designate-mdns:
|
|
container_name: designate_mdns
|
|
group: designate-mdns
|
|
enabled: true
|
|
image: "{{ designate_mdns_image_full }}"
|
|
volumes:
|
|
- "{{ node_config_directory }}/designate-mdns/:{{ container_config_directory }}/:ro"
|
|
- "/etc/localtime:/etc/localtime:ro"
|
|
- "kolla_logs:/var/log/kolla/"
|
|
designate-producer:
|
|
container_name: designate_producer
|
|
group: designate-producer
|
|
enabled: true
|
|
image: "{{ designate_producer_image_full }}"
|
|
volumes:
|
|
- "{{ node_config_directory }}/designate-producer/:{{ container_config_directory }}/:ro"
|
|
- "/etc/localtime:/etc/localtime:ro"
|
|
- "kolla_logs:/var/log/kolla/"
|
|
designate-worker:
|
|
container_name: designate_worker
|
|
group: designate-worker
|
|
enabled: true
|
|
image: "{{ designate_worker_image_full }}"
|
|
volumes:
|
|
- "{{ node_config_directory }}/designate-worker/:{{ container_config_directory }}/:ro"
|
|
- "/etc/localtime:/etc/localtime:ro"
|
|
- "kolla_logs:/var/log/kolla/"
|
|
designate-sink:
|
|
container_name: designate_sink
|
|
group: designate-sink
|
|
enabled: true
|
|
image: "{{ designate_sink_image_full }}"
|
|
volumes:
|
|
- "{{ node_config_directory }}/designate-sink/:{{ container_config_directory }}/:ro"
|
|
- "/etc/localtime:/etc/localtime:ro"
|
|
- "kolla_logs:/var/log/kolla/"
|
|
|
|
|
|
####################
|
|
# Database
|
|
####################
|
|
designate_database_name: "designate"
|
|
designate_database_user: "designate"
|
|
designate_database_address: "{{ database_address }}:{{ database_port }}"
|
|
|
|
designate_pool_manager_database_name: "designate_pool_manager"
|
|
designate_pool_manager_database_user: "designate_pool_manager"
|
|
designate_pool_manager_database_address: "{{ database_address }}:{{ database_port }}"
|
|
|
|
|
|
####################
|
|
# Docker
|
|
####################
|
|
designate_install_type: "{{ kolla_install_type }}"
|
|
designate_tag: "{{ openstack_release }}"
|
|
|
|
designate_central_image: "{{ docker_registry ~ '/' if docker_registry else '' }}{{ docker_namespace }}/{{ kolla_base_distro }}-{{ designate_install_type }}-designate-central"
|
|
designate_central_tag: "{{ designate_tag }}"
|
|
designate_central_image_full: "{{ designate_central_image }}:{{ designate_central_tag }}"
|
|
|
|
designate_producer_image: "{{ docker_registry ~ '/' if docker_registry else '' }}{{ docker_namespace }}/{{ kolla_base_distro }}-{{ designate_install_type }}-designate-producer"
|
|
designate_producer_tag: "{{ designate_tag }}"
|
|
designate_producer_image_full: "{{ designate_central_image }}:{{ designate_central_tag }}"
|
|
|
|
designate_api_image: "{{ docker_registry ~ '/' if docker_registry else '' }}{{ docker_namespace }}/{{ kolla_base_distro }}-{{ designate_install_type }}-designate-api"
|
|
designate_api_tag: "{{ designate_tag }}"
|
|
designate_api_image_full: "{{ designate_api_image }}:{{ designate_api_tag }}"
|
|
|
|
designate_backend_bind9_image: "{{ docker_registry ~ '/' if docker_registry else '' }}{{ docker_namespace }}/{{ kolla_base_distro }}-{{ designate_install_type }}-designate-backend-bind9"
|
|
designate_backend_bind9_tag: "{{ designate_tag }}"
|
|
designate_backend_bind9_image_full: "{{ designate_backend_bind9_image }}:{{ designate_backend_bind9_tag }}"
|
|
|
|
designate_mdns_image: "{{ docker_registry ~ '/' if docker_registry else '' }}{{ docker_namespace }}/{{ kolla_base_distro }}-{{ designate_install_type }}-designate-mdns"
|
|
designate_mdns_tag: "{{ designate_tag }}"
|
|
designate_mdns_image_full: "{{ designate_mdns_image }}:{{ designate_mdns_tag }}"
|
|
|
|
designate_sink_image: "{{ docker_registry ~ '/' if docker_registry else '' }}{{ docker_namespace }}/{{ kolla_base_distro }}-{{ designate_install_type }}-designate-sink"
|
|
designate_sink_tag: "{{ designate_tag }}"
|
|
designate_sink_image_full: "{{ designate_sink_image }}:{{ designate_sink_tag }}"
|
|
|
|
designate_worker_image: "{{ docker_registry ~ '/' if docker_registry else '' }}{{ docker_namespace }}/{{ kolla_base_distro }}-{{ designate_install_type }}-designate-worker"
|
|
designate_worker_tag: "{{ designate_tag }}"
|
|
designate_worker_image_full: "{{ designate_worker_image }}:{{ designate_worker_tag }}"
|
|
|
|
####################
|
|
# OpenStack
|
|
####################
|
|
designate_admin_endpoint: "{{ admin_protocol }}://{{ kolla_internal_fqdn }}:{{ designate_api_port }}"
|
|
designate_internal_endpoint: "{{ internal_protocol }}://{{ kolla_internal_fqdn }}:{{ designate_api_port }}"
|
|
designate_public_endpoint: "{{ public_protocol }}://{{ kolla_external_fqdn }}:{{ designate_api_port }}"
|
|
|
|
designate_logging_debug: "{{ openstack_logging_debug }}"
|
|
|
|
designate_keystone_user: "designate"
|
|
|
|
openstack_designate_auth: "{{ openstack_auth }}"
|