From bb39bf563298dcc047928c05bd796f5167340c96 Mon Sep 17 00:00:00 2001 From: Jeff Geerling Date: Tue, 12 Jan 2016 09:25:59 -0600 Subject: [PATCH] Fixes #59: Ansible 2.x role cleanup. --- tasks/configure.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tasks/configure.yml b/tasks/configure.yml index 493152a..ac4acd2 100644 --- a/tasks/configure.yml +++ b/tasks/configure.yml @@ -30,7 +30,7 @@ notify: restart mysql - name: Create slow query log file (if configured). - shell: "touch {{ mysql_slow_query_log_file }} creates={{ mysql_slow_query_log_file }}" + file: "path={{ mysql_slow_query_log_file }} state=touch" when: mysql_slow_query_log_enabled - name: Set ownership on slow query log file (if configured).