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.7 KiB
YAML
73 lines
2.7 KiB
YAML
---
|
|
project_name: "mistral"
|
|
|
|
mistral_services:
|
|
mistral-api:
|
|
container_name: mistral_api
|
|
group: mistral-api
|
|
enabled: true
|
|
image: "{{ mistral_api_image_full }}"
|
|
volumes:
|
|
- "{{ node_config_directory }}/mistral-api/:{{ container_config_directory }}/:ro"
|
|
- "/etc/localtime:/etc/localtime:ro"
|
|
- "kolla_logs:/var/log/kolla/"
|
|
mistral-engine:
|
|
container_name: mistral_engine
|
|
group: mistral-engine
|
|
enabled: true
|
|
image: "{{ mistral_engine_image_full }}"
|
|
volumes:
|
|
- "{{ node_config_directory }}/mistral-engine/:{{ container_config_directory }}/:ro"
|
|
- "/etc/localtime:/etc/localtime:ro"
|
|
- "kolla_logs:/var/log/kolla/"
|
|
mistral-executor:
|
|
container_name: mistral_executor
|
|
group: mistral-executor
|
|
enabled: true
|
|
image: "{{ mistral_executor_image_full }}"
|
|
volumes:
|
|
- "{{ node_config_directory }}/mistral-executor/:{{ container_config_directory }}/:ro"
|
|
- "/etc/localtime:/etc/localtime:ro"
|
|
- "kolla_logs:/var/log/kolla/"
|
|
|
|
|
|
####################
|
|
# Database
|
|
####################
|
|
mistral_database_name: "mistral"
|
|
mistral_database_user: "mistral"
|
|
mistral_database_address: "{{ database_address }}:{{ database_port }}"
|
|
|
|
|
|
####################
|
|
# Docker
|
|
####################
|
|
mistral_install_type: "{{ kolla_install_type }}"
|
|
mistral_tag: "{{ openstack_release }}"
|
|
|
|
mistral_engine_image: "{{ docker_registry ~ '/' if docker_registry else '' }}{{ docker_namespace }}/{{ kolla_base_distro }}-{{ mistral_install_type }}-mistral-engine"
|
|
mistral_engine_tag: "{{ mistral_tag }}"
|
|
mistral_engine_image_full: "{{ mistral_engine_image }}:{{ mistral_engine_tag }}"
|
|
|
|
mistral_executor_image: "{{ docker_registry ~ '/' if docker_registry else '' }}{{ docker_namespace }}/{{ kolla_base_distro }}-{{ mistral_install_type }}-mistral-executor"
|
|
mistral_executor_tag: "{{ mistral_tag }}"
|
|
mistral_executor_image_full: "{{ mistral_executor_image }}:{{ mistral_executor_tag }}"
|
|
|
|
mistral_api_image: "{{ docker_registry ~ '/' if docker_registry else '' }}{{ docker_namespace }}/{{ kolla_base_distro }}-{{ mistral_install_type }}-mistral-api"
|
|
mistral_api_tag: "{{ mistral_tag }}"
|
|
mistral_api_image_full: "{{ mistral_api_image }}:{{ mistral_api_tag }}"
|
|
|
|
|
|
####################
|
|
# OpenStack
|
|
####################
|
|
mistral_admin_endpoint: "{{ admin_protocol }}://{{ kolla_internal_fqdn }}:{{ mistral_api_port }}/v2"
|
|
mistral_internal_endpoint: "{{ internal_protocol }}://{{ kolla_internal_fqdn }}:{{ mistral_api_port }}/v2"
|
|
mistral_public_endpoint: "{{ public_protocol }}://{{ kolla_external_fqdn }}:{{ mistral_api_port }}/v2"
|
|
|
|
mistral_logging_debug: "{{ openstack_logging_debug }}"
|
|
|
|
mistral_keystone_user: "mistral"
|
|
|
|
openstack_mistral_auth: "{{ openstack_auth }}"
|