refs #8414 - Add config files for test-db when block condition
This commit is contained in:
parent
acbec25d98
commit
858651acb5
|
@ -96,5 +96,5 @@ performance_schema = ON
|
||||||
performance_schema_digests_size = 20000
|
performance_schema_digests_size = 20000
|
||||||
performance-schema-consumer-events-statements-history = ON
|
performance-schema-consumer-events-statements-history = ON
|
||||||
performance_schema_consumer_events_statements_history_long = ON
|
performance_schema_consumer_events_statements_history_long = ON
|
||||||
query_response_time_stats = ON
|
#query_response_time_stats = ON
|
||||||
userstat = ON
|
userstat = ON
|
|
@ -90,7 +90,7 @@
|
||||||
|
|
||||||
- when: production is true
|
- when: production is true
|
||||||
block:
|
block:
|
||||||
- name: Set MariaDB custom configuration
|
- name: Set MariaDB custom configuration Producution
|
||||||
copy:
|
copy:
|
||||||
src: "{{ item }}"
|
src: "{{ item }}"
|
||||||
dest: /etc/mysql/mariadb.conf.d/
|
dest: /etc/mysql/mariadb.conf.d/
|
||||||
|
@ -110,9 +110,9 @@
|
||||||
- /mnt/local-backup
|
- /mnt/local-backup
|
||||||
Make sure they are correctly configured and accessible.
|
Make sure they are correctly configured and accessible.
|
||||||
|
|
||||||
- when: test-db is true
|
- when: testdb is true
|
||||||
block:
|
block:
|
||||||
- name: Set MariaDB custom configuration
|
- name: Set MariaDB custom configuration Test
|
||||||
copy:
|
copy:
|
||||||
src: "{{ item }}"
|
src: "{{ item }}"
|
||||||
dest: /etc/mysql/mariadb.conf.d/
|
dest: /etc/mysql/mariadb.conf.d/
|
||||||
|
@ -120,7 +120,7 @@
|
||||||
group: root
|
group: root
|
||||||
mode: u=rw,g=r,o=r
|
mode: u=rw,g=r,o=r
|
||||||
with_fileglob:
|
with_fileglob:
|
||||||
- "files/test*.cnf"
|
- "files/test/z9*.cnf"
|
||||||
notify: restart-mariadb
|
notify: restart-mariadb
|
||||||
|
|
||||||
- name: Reminder to check mount points
|
- name: Reminder to check mount points
|
||||||
|
|
Loading…
Reference in New Issue