From cf6f581e199161205445b4f276ed573af90ae19d Mon Sep 17 00:00:00 2001 From: Wolfgang Medina-Erhardt Date: Wed, 26 Jun 2024 14:30:00 +0200 Subject: [PATCH] Don't run the version check command in check mode --- tasks/config_db.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/tasks/config_db.yaml b/tasks/config_db.yaml index f626815..839db3d 100644 --- a/tasks/config_db.yaml +++ b/tasks/config_db.yaml @@ -15,6 +15,7 @@ register: mariadb_get_server_version_result - name: Check if legacy config location must be used + check_mode: no ansible.builtin.set_fact: mariadb_use_legacy_config_location_result: "{{ mariadb_get_server_version_result.stdout is version('10.5', '<') }}"