2016-01-26 11:22:54 -06:00
|
|
|
---
|
2020-06-29 15:06:53 +01:00
|
|
|
- import_tasks: deploy.yml
|
2020-01-03 11:20:00 +01:00
|
|
|
|
|
|
|
- name: Run upgrade in MariaDB container
|
|
|
|
vars:
|
|
|
|
service_name: "mariadb"
|
|
|
|
service: "{{ mariadb_services[service_name] }}"
|
|
|
|
become: true
|
|
|
|
kolla_docker:
|
|
|
|
action: "start_container"
|
|
|
|
common_options: "{{ docker_common_options }}"
|
|
|
|
detach: False
|
|
|
|
dimensions: "{{ service.dimensions }}"
|
|
|
|
environment:
|
|
|
|
KOLLA_UPGRADE:
|
|
|
|
KOLLA_CONFIG_STRATEGY: "{{ config_strategy }}"
|
|
|
|
DB_HOST: "{{ api_interface_address }}"
|
|
|
|
DB_PORT: "{{ mariadb_port }}"
|
|
|
|
DB_ROOT_PASSWORD: "{{ database_password }}"
|
|
|
|
image: "{{ service.image }}"
|
|
|
|
labels:
|
|
|
|
UPGRADE:
|
|
|
|
name: "upgrade_mariadb"
|
|
|
|
restart_policy: no
|
|
|
|
volumes: "{{ service.volumes }}"
|
|
|
|
no_log: true
|