aboutsummaryrefslogtreecommitdiff
path: root/ansible/roles/mariadb/templates/mariabackup.json.j2
diff options
context:
space:
mode:
Diffstat (limited to 'ansible/roles/mariadb/templates/mariabackup.json.j2')
-rw-r--r--ansible/roles/mariadb/templates/mariabackup.json.j27
1 files changed, 7 insertions, 0 deletions
diff --git a/ansible/roles/mariadb/templates/mariabackup.json.j2 b/ansible/roles/mariadb/templates/mariabackup.json.j2
index ff32de2b6..7444364a6 100644
--- a/ansible/roles/mariadb/templates/mariabackup.json.j2
+++ b/ansible/roles/mariadb/templates/mariabackup.json.j2
@@ -7,6 +7,13 @@
"owner": "mysql",
"perm": "0600"
}
+ {% if database_enable_tls_backend | bool %},
+ {
+ "source": "{{ container_config_directory }}/ca-certificates/root.crt",
+ "dest": "/etc/mariadb/certs/root.crt",
+ "owner": "mysql",
+ "perm": "0600"
+ }{% endif %}
],
"permissions": [
{