kolla-ansible/ansible/roles/congress/defaults/main.yml
caoyuan e527707056 Optimize reconfigure action for congress
Co-Authored-By: Mauricio Lima <mauriciolimab@gmail.com>
Change-Id: I568ebe2e5160982aaf5a82b6d73a753cbadc0c49
Partially-implements: blueprint better-reconfigure
2017-02-04 15:50:27 +08:00

70 lines
2.7 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: "{{ kolla_internal_fqdn }}:{{ database_port }}"
####################
# Docker
####################
congress_policy_engine_image: "{{ docker_registry ~ '/' if docker_registry else '' }}{{ docker_namespace }}/{{ kolla_base_distro }}-{{ kolla_install_type }}-congress-policy-engine"
congress_policy_engine_tag: "{{ openstack_release }}"
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 }}-{{ kolla_install_type }}-congress-datasource"
congress_datasource_tag: "{{ openstack_release }}"
congress_datasource_image_full: "{{ congress_datasource_image }}:{{ congress_datasource_tag }}"
congress_api_image: "{{ docker_registry ~ '/' if docker_registry else '' }}{{ docker_namespace }}/{{ kolla_base_distro }}-{{ kolla_install_type }}-congress-api"
congress_api_tag: "{{ openstack_release }}"
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 }}"