refs #8414 - Reorder files and logic

This commit is contained in:
Xavi Lleó 2025-01-22 13:58:05 +01:00
parent f590915e0e
commit 4254165980
5 changed files with 17 additions and 7 deletions

View File

@ -6,7 +6,7 @@ lc_time_names = es_ES
character-set-server = utf8 character-set-server = utf8
collation-server = utf8_unicode_ci collation-server = utf8_unicode_ci
explicit_defaults_for_timestamp = ON explicit_defaults_for_timestamp = ON
datadir = /var/lib/mysql datadir = /mnt/mysqldata/mysql
tmpdir = /mnt/mysqltmp tmpdir = /mnt/mysqltmp
log_bin_trust_function_creators = 1 log_bin_trust_function_creators = 1
sql_mode = NO_ENGINE_SUBSTITUTION sql_mode = NO_ENGINE_SUBSTITUTION

View File

@ -97,8 +97,9 @@
owner: root owner: root
group: root group: root
mode: u=rw,g=r,o=r mode: u=rw,g=r,o=r
with_fileglob: with_items:
- "files/z9*.cnf" - "files/mariaconfigfiles/z90-vn.cnf"
- "files/mariaconfigfiles/z95-production"
notify: restart-mariadb notify: restart-mariadb
- name: Reminder to check mount points - name: Reminder to check mount points
@ -119,8 +120,9 @@
owner: root owner: root
group: root group: root
mode: u=rw,g=r,o=r mode: u=rw,g=r,o=r
with_fileglob: with_items:
- "files/test/z9*.cnf" - "files/mariaconfigfiles/z90-vn.cnf"
- "files/mariaconfigfiles/z92-testing.cnf"
notify: restart-mariadb notify: restart-mariadb
- name: Reminder to check mount points - name: Reminder to check mount points
@ -128,4 +130,12 @@
msg: | msg: |
Remember to check the following mount points: Remember to check the following mount points:
- /mnt/mysqltmp - /mnt/mysqltmp
Make sure they are correctly configured and accessible. Make sure they are correctly configured and accessible.
- name: Set MariaDB local configuration file
template:
src: templates/z99-local.cnf
dest: /etc/mysql/mariadb.conf.d/
owner: root
group: root
mode: u=rw,g=r,o=r

View File

@ -1,6 +1,6 @@
[mysqld] [mysqld]
server-id = 1 server-id = {{ serverid }}
#bind-address = 127.0.0.1 #bind-address = 127.0.0.1
#event-scheduler = OFF #event-scheduler = OFF
#skip-log-bin #skip-log-bin