Skip to content

Commit 9b3c7c8

Browse files
committed
Merge pull request geerlingguy#103 from BlackMesh/no_change_slow_query_log
ansible doesn't have a create-if-not-exists
2 parents 2705303 + 571f8e4 commit 9b3c7c8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tasks/configure.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030
notify: restart mysql
3131

3232
- name: Create slow query log file (if configured).
33-
file: "path={{ mysql_slow_query_log_file }} state=touch"
33+
shell: "touch {{ mysql_slow_query_log_file }} creates={{ mysql_slow_query_log_file }}"
3434
when: mysql_slow_query_log_enabled
3535

3636
- name: Set ownership on slow query log file (if configured).

0 commit comments

Comments
 (0)