From 041d4d9bca3fc73612261787a027a8c1ea9dce7d Mon Sep 17 00:00:00 2001 From: Eric Morino Date: Tue, 16 Jul 2024 15:54:08 +0200 Subject: [PATCH] Fix condition to task "Create undo log dir" --- mysql/tasks/logdir.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/mysql/tasks/logdir.yml b/mysql/tasks/logdir.yml index 0ec7b54a..a69c3a36 100644 --- a/mysql/tasks/logdir.yml +++ b/mysql/tasks/logdir.yml @@ -46,6 +46,7 @@ - mysql_custom_logdir != mysql_current_real_logdir_test.stdout - not mysql_custom_logdir_test.stat.exists +- block: - name: "Create undo log dir" ansible.builtin.file: path: "/var/log/mysql/innodb_undo" @@ -55,4 +56,4 @@ state: directory tags: - mysql - when: innodb_undo_log | length > 0 + when: innodb_undo_log == "True"