Merge pull request #103 from BlackMesh/no_change_slow_query_log

ansible doesn't have a create-if-not-exists
pull/63/head
Jeff Geerling 8 years ago
commit 9b3c7c8a0a
  1. 2
      tasks/configure.yml

@ -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).