Skip to content

Commit 08f2b86

Browse files
committed
Fix "when" statement for mysql error log file permissions.
1 parent 7a0a482 commit 08f2b86

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
@@ -53,7 +53,7 @@
5353
owner: mysql
5454
group: mysql
5555
mode: 0644
56-
when: mysql_slow_query_log_enabled
56+
when: mysql_log == "" and mysql_log_error != ""
5757

5858
- name: Ensure MySQL is started and enabled on boot.
5959
service: "name={{ mysql_daemon }} state=started enabled={{ mysql_enabled_on_startup }}"

0 commit comments

Comments
 (0)