Skip to content

Commit

Permalink
Shib: Do need read /root/.my.cnf when creating tables
Browse files Browse the repository at this point in the history
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
  • Loading branch information
quartje committed Oct 4, 2023
1 parent 9c608a5 commit 4977fa7
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions roles/shibboleth/tasks/shibboleth_database_backend.yml
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,7 @@
login_host: "{{ shib.db_host }}"
state: import
target: /tmp/shibboleth_database.sql
config_file: ""
changed_when: false
run_once: true

0 comments on commit 4977fa7

Please sign in to comment.