Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Playbook fails during geerlingguy.mysql while setting up replication. (need to update role) #280

Closed
rosiel opened this issue Jul 1, 2024 · 0 comments · Fixed by #281
Closed

Comments

@rosiel
Copy link
Contributor

rosiel commented Jul 1, 2024

The Geerlingguy playbook for sql fails:

TASK [geerlingguy.mysql : Check master replication status.] ********************
fatal: [default -> {{ mysql_replication_master }}]: FAILED! => {"msg": "Empty hostname produced from delegate_to: \"{{ mysql_replication_master }}\""}

I've tried adding the following to group_vars/database.yml:

mysql_replication_role: ''
mysql_replication_master: ''
mysql_replication_user: {}

but to no avail.

I was able to get it working with this change:
geerlingguy/ansible-role-mysql@b04a0ca

which is part of the latest tag, 4.3.4.

We should update requirements.yml to include the newest Geerlingguy Mysql role.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant