File tree Expand file tree Collapse file tree 3 files changed +7
-0
lines changed Expand file tree Collapse file tree 3 files changed +7
-0
lines changed Original file line number Diff line number Diff line change 13
13
mysql_daemon : " {{ __mysql_daemon }}"
14
14
when : mysql_daemon is not defined
15
15
16
+ - name : Define mysql_slow_query_log_file.
17
+ set_fact :
18
+ mysql_slow_query_log_file : " {{ __mysql_slow_query_log_file }}"
19
+ when : mysql_slow_query_log_file is not defined
20
+
16
21
# Setup/install tasks.
17
22
- include : setup-RedHat.yml
18
23
when : ansible_os_family == 'RedHat'
Original file line number Diff line number Diff line change @@ -4,5 +4,6 @@ __mysql_packages:
4
4
- mysql-common
5
5
- mysql-server
6
6
- python-mysqldb
7
+ __mysql_slow_query_log_file : /var/log/mysql/mysql-slow.log
7
8
mysql_config_file : /etc/mysql/my.cnf
8
9
mysql_socket : /var/run/mysqld/mysqld.sock
Original file line number Diff line number Diff line change @@ -4,5 +4,6 @@ __mysql_packages:
4
4
- mysql
5
5
- mysql-server
6
6
- MySQL-python
7
+ __mysql_slow_query_log_file : /var/log/mysql-slow.log
7
8
mysql_config_file : /etc/my.cnf
8
9
mysql_socket : /var/lib/mysql/mysql.sock
You can’t perform that action at this time.
0 commit comments