refs #8414 - Add config files for test-db when block condition

This commit is contained in:
Xavi Lleó 2025-01-22 10:43:59 +01:00
parent acbec25d98
commit 858651acb5
4 changed files with 5 additions and 5 deletions

View File

@ -96,5 +96,5 @@ performance_schema = ON
performance_schema_digests_size = 20000
performance-schema-consumer-events-statements-history = ON
performance_schema_consumer_events_statements_history_long = ON
query_response_time_stats = ON
#query_response_time_stats = ON
userstat = ON

View File

@ -90,7 +90,7 @@
- when: production is true
block:
- name: Set MariaDB custom configuration
- name: Set MariaDB custom configuration Producution
copy:
src: "{{ item }}"
dest: /etc/mysql/mariadb.conf.d/
@ -110,9 +110,9 @@
- /mnt/local-backup
Make sure they are correctly configured and accessible.
- when: test-db is true
- when: testdb is true
block:
- name: Set MariaDB custom configuration
- name: Set MariaDB custom configuration Test
copy:
src: "{{ item }}"
dest: /etc/mysql/mariadb.conf.d/
@ -120,7 +120,7 @@
group: root
mode: u=rw,g=r,o=r
with_fileglob:
- "files/test*.cnf"
- "files/test/z9*.cnf"
notify: restart-mariadb
- name: Reminder to check mount points