From 4977fa796b94d563278e1ac884f060a221a08977 Mon Sep 17 00:00:00 2001 From: Bart Geesink Date: Wed, 4 Oct 2023 19:51:41 +0200 Subject: [PATCH] Shib: Do need read /root/.my.cnf when creating tables The Ansible mysql_db module mixes information from /root/.my.cnf and information in the task. Setting an empty config_file makes sure the /root/.my.cnf is not read --- roles/shibboleth/tasks/shibboleth_database_backend.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/roles/shibboleth/tasks/shibboleth_database_backend.yml b/roles/shibboleth/tasks/shibboleth_database_backend.yml index 37d89bf6b..d971b396b 100644 --- a/roles/shibboleth/tasks/shibboleth_database_backend.yml +++ b/roles/shibboleth/tasks/shibboleth_database_backend.yml @@ -59,6 +59,7 @@ login_host: "{{ shib.db_host }}" state: import target: /tmp/shibboleth_database.sql + config_file: "" changed_when: false run_once: true