5cd55bf236
Change-Id: I278609f9832955849bc9381120a1b260f5a03f1b Partially-implements: blueprint better-reconfigure
27 lines
800 B
YAML
27 lines
800 B
YAML
---
|
|
- name: Running MariaDB bootstrap container
|
|
kolla_docker:
|
|
action: "start_container"
|
|
common_options: "{{ docker_common_options }}"
|
|
detach: False
|
|
environment:
|
|
KOLLA_BOOTSTRAP:
|
|
KOLLA_CONFIG_STRATEGY: "{{ config_strategy }}"
|
|
DB_ROOT_PASSWORD: "{{ database_password }}"
|
|
DB_MAX_TIMEOUT: "{{ database_max_timeout }}"
|
|
image: "{{ mariadb_image_full }}"
|
|
labels:
|
|
BOOTSTRAP:
|
|
name: "bootstrap_mariadb"
|
|
restart_policy: "never"
|
|
volumes:
|
|
- "{{ node_config_directory }}/mariadb/:{{ container_config_directory }}/:ro"
|
|
- "/etc/localtime:/etc/localtime:ro"
|
|
- "kolla_logs:/var/log/kolla/"
|
|
- "mariadb:/var/lib/mysql"
|
|
notify:
|
|
- Starting first MariaDB container
|
|
|
|
- set_fact:
|
|
bootstrap_host: "{{ inventory_hostname }}"
|