Refs #8140: MariaDB Server Deploy - Role WIP

This commit is contained in:
Xavi Lleó 2024-12-10 15:47:01 +01:00
parent df27599f14
commit 69180761c8
1 changed files with 10 additions and 2 deletions

View File

@ -19,7 +19,7 @@
state: directory
owner: root
group: root
mode: '0755'
mode: u=rwx,g=rx,o=rx
- name: Set MariaDB custom service.d override.conf
copy:
src: mariadb_override.conf
@ -34,7 +34,7 @@
state: directory
owner: root
group: root
mode: '0755'
mode: u=rwx,g=rx,o=rx
- name: Set MariaDB custom root scripts
copy:
src: "{{ item }}"
@ -61,6 +61,14 @@
group: root
mode: u=rwx,g=rx,o=rx
notify: restart-mariadb
- name: Ensure log directory exists /var/log/mysql
file:
path: /var/log/mysql
state: directory
owner: mysql
group: adm
mode: u=rwx,g=rxs,o=
notify: restart-mariadb
- name: Set MariaDB Cron to /etc/cron.d
template:
src: templates/cron_mariadb