kolla-ansible/ansible/roles/mariadb/templates/mariadb.json.j2
Michal Nasiadka b6b7401c0d mariadb: Remove wsrep-notify.sh
Closes-Bug: #1947534

Change-Id: I08be074c3633cc4fb0a0bc6c9cb8d03eb5226d89
2021-10-20 05:37:57 +00:00

25 lines
632 B
Django/Jinja

{% set mysql_dir = 'mysql' if kolla_base_distro in ['ubuntu', 'debian'] else '' %}
{
"command": "/usr/bin/mysqld_safe",
"config_files": [
{
"source": "{{ container_config_directory }}/galera.cnf",
"dest": "/etc/{{ mysql_dir }}/my.cnf",
"owner": "mysql",
"perm": "0600"
}
],
"permissions": [
{
"path": "/var/log/kolla/mariadb",
"owner": "mysql:mysql",
"recurse": true
},
{
"path": "/var/lib/mysql",
"owner": "mysql:mysql",
"recurse": true
}
]
}