refs #8414 - Add config files for test-db #54

Merged
xavi merged 6 commits from 8414_MariaDB_test_DB into main 2025-01-22 13:10:06 +00:00
4 changed files with 40 additions and 18 deletions
Showing only changes of commit acbec25d98 - Show all commits

View File

@ -88,22 +88,44 @@
group: mysql group: mysql
mode: u=rw,g=,o= mode: u=rw,g=,o=
- name: Set MariaDB custom configuration - when: production is true
copy: block:
src: "{{ item }}" - name: Set MariaDB custom configuration
dest: /etc/mysql/mariadb.conf.d/ copy:
owner: root src: "{{ item }}"
group: root dest: /etc/mysql/mariadb.conf.d/
mode: u=rw,g=r,o=r owner: root
with_fileglob: group: root
- "files/z9*.cnf" mode: u=rw,g=r,o=r
notify: restart-mariadb with_fileglob:
- "files/z9*.cnf"
notify: restart-mariadb
- name: Reminder to check mount points
debug:
msg: |
Remember to check the following mount points:
- /var/lib/mysql
- /mnt/mysqlbin
- /mnt/local-backup
Make sure they are correctly configured and accessible.
- name: Reminder to check mount points - when: test-db is true
debug: block:
msg: | - name: Set MariaDB custom configuration
Remember to check the following mount points: copy:
- /var/lib/mysql src: "{{ item }}"
- /mnt/mysqlbin dest: /etc/mysql/mariadb.conf.d/
- /mnt/local-backup owner: root
Make sure they are correctly configured and accessible. group: root
mode: u=rw,g=r,o=r
with_fileglob:
- "files/test*.cnf"
notify: restart-mariadb
- name: Reminder to check mount points
debug:
msg: |
Remember to check the following mount points:
- /mnt/mysqltmp
Make sure they are correctly configured and accessible.