
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
30 lines
777 B
YAML
30 lines
777 B
YAML
---
|
|
project_name: "rally"
|
|
|
|
rally_services:
|
|
rally:
|
|
container_name: "rally"
|
|
image: "{{ rally_image_full }}"
|
|
enabled: true
|
|
group: "rally"
|
|
volumes:
|
|
- "{{ node_config_directory }}/rally/:{{ container_config_directory }}/:ro"
|
|
- "/etc/localtime:/etc/localtime:ro"
|
|
- "kolla_logs:/var/log/kolla/"
|
|
|
|
|
|
########
|
|
# Docker
|
|
########
|
|
rally_image: "{{ docker_registry ~ '/' if docker_registry else '' }}{{ docker_namespace }}/{{ kolla_base_distro }}-{{ kolla_install_type }}-rally"
|
|
rally_tag: "{{ openstack_release }}"
|
|
rally_image_full: "{{ rally_image }}:{{ rally_tag }}"
|
|
|
|
|
|
####################
|
|
# Database
|
|
####################
|
|
rally_database_name: "rally"
|
|
rally_database_user: "rally"
|
|
rally_database_address: "{{ database_address }}:{{ database_port }}"
|