From 08f2b86a9a1c5cba952a40710cfd11bcf5b9ef4b Mon Sep 17 00:00:00 2001 From: Jon Pugh Date: Thu, 28 Apr 2016 12:33:21 -0400 Subject: [PATCH] Fix "when" statement for mysql error log file permissions. --- tasks/configure.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tasks/configure.yml b/tasks/configure.yml index aa5018d..9cbbbae 100644 --- a/tasks/configure.yml +++ b/tasks/configure.yml @@ -53,7 +53,7 @@ owner: mysql group: mysql mode: 0644 - when: mysql_slow_query_log_enabled + when: mysql_log == "" and mysql_log_error != "" - name: Ensure MySQL is started and enabled on boot. service: "name={{ mysql_daemon }} state=started enabled={{ mysql_enabled_on_startup }}"