ansible doesn't have a create-if-not-exists - but we shouldn't be changing the date each time this is run

This commit is contained in:
Solomon Gifford 2016-04-15 11:06:22 -04:00
parent 270530398e
commit 571f8e4bf4

View file

@ -30,7 +30,7 @@
notify: restart mysql
- name: Create slow query log file (if configured).
file: "path={{ mysql_slow_query_log_file }} state=touch"
shell: "touch {{ mysql_slow_query_log_file }} creates={{ mysql_slow_query_log_file }}"
when: mysql_slow_query_log_enabled
- name: Set ownership on slow query log file (if configured).