mirror of
https://github.com/aljazceru/ansible-role-mysql.git
synced 2025-12-19 11:54:20 +01:00
Fix "when" statement for mysql error log file permissions.
This commit is contained in:
@@ -53,7 +53,7 @@
|
|||||||
owner: mysql
|
owner: mysql
|
||||||
group: mysql
|
group: mysql
|
||||||
mode: 0644
|
mode: 0644
|
||||||
when: mysql_slow_query_log_enabled
|
when: mysql_log == "" and mysql_log_error != ""
|
||||||
|
|
||||||
- name: Ensure MySQL is started and enabled on boot.
|
- name: Ensure MySQL is started and enabled on boot.
|
||||||
service: "name={{ mysql_daemon }} state=started enabled={{ mysql_enabled_on_startup }}"
|
service: "name={{ mysql_daemon }} state=started enabled={{ mysql_enabled_on_startup }}"
|
||||||
|
|||||||
Reference in New Issue
Block a user