Skip to content

Commit 571f8e4

Browse files
author
Solomon Gifford
committed
ansible doesn't have a create-if-not-exists - but we shouldn't be changing the date each time this is run
1 parent 2705303 commit 571f8e4

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)