465bc9ee1c
The purpose of this change is to improve upon https://review.openstack.org/#/c/531122/ - Moved vars inside the defaults/main.yml file - Made the regex for the lineinfile safer Change-Id: Id581c0b36f3d4bd61d3627b8364b79296b967387 Closes-Bug: 1746567 Related-Bug: 1682153
34 lines
964 B
YAML
34 lines
964 B
YAML
---
|
|
project_name: "mariadb"
|
|
|
|
mariadb_services:
|
|
mariadb:
|
|
container_name: mariadb
|
|
group: mariadb
|
|
enabled: true
|
|
image: "{{ mariadb_image_full }}"
|
|
volumes:
|
|
- "{{ node_config_directory }}/mariadb/:{{ container_config_directory }}/:ro"
|
|
- "/etc/localtime:/etc/localtime:ro"
|
|
- "mariadb:/var/lib/mysql"
|
|
- "kolla_logs:/var/log/kolla/"
|
|
|
|
|
|
####################
|
|
# Database
|
|
####################
|
|
database_cluster_name: "openstack"
|
|
database_max_timeout: 120
|
|
|
|
####################
|
|
# Docker
|
|
####################
|
|
mariadb_image: "{{ docker_registry ~ '/' if docker_registry else '' }}{{ docker_namespace }}/{{ kolla_base_distro }}-{{ kolla_install_type }}-mariadb"
|
|
mariadb_tag: "{{ openstack_release }}"
|
|
mariadb_image_full: "{{ mariadb_image }}:{{ mariadb_tag }}"
|
|
|
|
########################################
|
|
# Vars used within recover_cluster.yml
|
|
########################################
|
|
mariadb_service: "{{ mariadb_services['mariadb'] }}"
|