mariadb: Allow mysql user to read host private key
This commit is contained in:
parent
87cfeb6249
commit
b535a484a3
1 changed files with 7 additions and 0 deletions
|
@ -45,6 +45,13 @@
|
||||||
owner: root
|
owner: root
|
||||||
group: mysql
|
group: mysql
|
||||||
|
|
||||||
|
- name: allow mysql user to read private key
|
||||||
|
user:
|
||||||
|
name: mysql
|
||||||
|
groups: hostkey
|
||||||
|
append: yes
|
||||||
|
notify: restart mariadb
|
||||||
|
|
||||||
- name: create tls configuration
|
- name: create tls configuration
|
||||||
template:
|
template:
|
||||||
dest: /etc/my.cnf.d/tls.cnf
|
dest: /etc/my.cnf.d/tls.cnf
|
||||||
|
|
Loading…
Add table
Reference in a new issue