geerlingguy / ansible-role-mysql

Ansible Role - MySQL
https://galaxy.ansible.com/geerlingguy/mysql/
MIT License
1.05k stars 865 forks source link

Getslave operation always fails while configuring the replication slave #435

Closed blajos closed 3 years ago

blajos commented 3 years ago

Mysql_replication_user is not created on the replication slave, so this task fails reliably: https://github.com/geerlingguy/ansible-role-mysql/blob/3a164a5d0867e7b5e85e067fb260d21b1132213e/tasks/replication.yml#L15

I think the solution is to remove login_user and login_password from the task.

dorianm commented 3 years ago

Same problem here. I try with your fix (#436) and it works ! Thank you !

stale[bot] commented 3 years ago

This issue has been marked 'stale' due to lack of recent activity. If there is no further activity, the issue will be closed in another 30 days. Thank you for your contribution!

Please read this blog post to see the reasons why I mark issues as stale.

stale[bot] commented 3 years ago

This issue has been closed due to inactivity. If you feel this is in error, please reopen the issue or file a new issue with the relevant details.