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
73 lines
2.8 KiB
YAML
73 lines
2.8 KiB
YAML
---
|
|
project_name: "congress"
|
|
|
|
congress_services:
|
|
congress-api:
|
|
container_name: congress_api
|
|
group: congress-api
|
|
enabled: true
|
|
image: "{{ congress_api_image_full }}"
|
|
volumes:
|
|
- "{{ node_config_directory }}/congress-api/:{{ container_config_directory }}/:ro"
|
|
- "/etc/localtime:/etc/localtime:ro"
|
|
- "kolla_logs:/var/log/kolla/"
|
|
congress-policy-engine:
|
|
container_name: congress_policy_engine
|
|
group: congress-policy-engine
|
|
enabled: true
|
|
image: "{{ congress_policy_engine_image_full }}"
|
|
volumes:
|
|
- "{{ node_config_directory }}/congress-policy-engine/:{{ container_config_directory }}/:ro"
|
|
- "/etc/localtime:/etc/localtime:ro"
|
|
- "kolla_logs:/var/log/kolla/"
|
|
congress-datasource:
|
|
container_name: congress_datasource
|
|
group: congress-datasource
|
|
enabled: true
|
|
image: "{{ congress_datasource_image_full }}"
|
|
volumes:
|
|
- "{{ node_config_directory }}/congress-datasource/:{{ container_config_directory }}/:ro"
|
|
- "/etc/localtime:/etc/localtime:ro"
|
|
- "kolla_logs:/var/log/kolla/"
|
|
|
|
|
|
####################
|
|
# Database
|
|
####################
|
|
congress_database_name: "congress"
|
|
congress_database_user: "congress"
|
|
congress_database_address: "{{ database_address }}:{{ database_port }}"
|
|
|
|
|
|
####################
|
|
# Docker
|
|
####################
|
|
congress_install_type: "{{ kolla_install_type }}"
|
|
congress_tag: "{{ openstack_release }}"
|
|
|
|
congress_policy_engine_image: "{{ docker_registry ~ '/' if docker_registry else '' }}{{ docker_namespace }}/{{ kolla_base_distro }}-{{ congress_install_type }}-congress-policy-engine"
|
|
congress_policy_engine_tag: "{{ congress_tag }}"
|
|
congress_policy_engine_image_full: "{{ congress_policy_engine_image }}:{{ congress_policy_engine_tag }}"
|
|
|
|
congress_datasource_image: "{{ docker_registry ~ '/' if docker_registry else '' }}{{ docker_namespace }}/{{ kolla_base_distro }}-{{ congress_install_type }}-congress-datasource"
|
|
congress_datasource_tag: "{{ congress_tag }}"
|
|
congress_datasource_image_full: "{{ congress_datasource_image }}:{{ congress_datasource_tag }}"
|
|
|
|
congress_api_image: "{{ docker_registry ~ '/' if docker_registry else '' }}{{ docker_namespace }}/{{ kolla_base_distro }}-{{ congress_install_type }}-congress-api"
|
|
congress_api_tag: "{{ congress_tag }}"
|
|
congress_api_image_full: "{{ congress_api_image }}:{{ congress_api_tag }}"
|
|
|
|
|
|
####################
|
|
# OpenStack
|
|
####################
|
|
congress_admin_endpoint: "{{ admin_protocol }}://{{ kolla_internal_fqdn }}:{{ congress_api_port }}"
|
|
congress_internal_endpoint: "{{ internal_protocol }}://{{ kolla_internal_fqdn }}:{{ congress_api_port }}"
|
|
congress_public_endpoint: "{{ public_protocol }}://{{ kolla_external_fqdn }}:{{ congress_api_port }}"
|
|
|
|
congress_logging_debug: "{{ openstack_logging_debug }}"
|
|
|
|
congress_keystone_user: "congress"
|
|
|
|
openstack_congress_auth: "{{ openstack_auth }}"
|