File tree Expand file tree Collapse file tree 1 file changed +8
-2
lines changed Expand file tree Collapse file tree 1 file changed +8
-2
lines changed Original file line number Diff line number Diff line change 30
30
notify : restart mysql
31
31
32
32
- name : Create slow query log file (if configured).
33
- shell : " touch {{ mysql_slow_query_log_file }} creates={{ mysql_slow_query_log_file }}"
33
+ command : " touch {{ mysql_slow_query_log_file }}"
34
+ args :
35
+ creates : " {{ mysql_slow_query_log_file }}"
36
+ warn : no
34
37
when : mysql_slow_query_log_enabled
35
38
36
39
- name : Create datadir if it does not exist
52
55
when : mysql_slow_query_log_enabled
53
56
54
57
- name : Create error log file (if configured).
55
- shell : " touch {{ mysql_log_error }} creates={{ mysql_log_error }}"
58
+ command : " touch {{ mysql_log_error }}"
59
+ args :
60
+ creates : " {{ mysql_log_error }}"
61
+ warn : no
56
62
when : mysql_log == "" and mysql_log_error != ""
57
63
58
64
- name : Set ownership on error log file (if configured).
You can’t perform that action at this time.
0 commit comments