Skip to content

Commit 05bd35c

Browse files
committed
Merge branch '151-try-two'
2 parents ad64400 + f45e1a8 commit 05bd35c

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

tasks/configure.yml

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,10 @@
3030
notify: restart mysql
3131

3232
- 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
3437
when: mysql_slow_query_log_enabled
3538

3639
- name: Create datadir if it does not exist
@@ -52,7 +55,10 @@
5255
when: mysql_slow_query_log_enabled
5356

5457
- 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
5662
when: mysql_log == "" and mysql_log_error != ""
5763

5864
- name: Set ownership on error log file (if configured).

0 commit comments

Comments
 (0)