Skip to content

Conversation

@thewebists
Copy link

I use this role in a Vagrant dev environment where the /var/lib/mysql dir is persisted between instances of the VMs. This means that there is a scenario where the /root/.my.cnf may not exist while the mysql already does have a root password set. Placing the template task before executing any mysql_user tasks solves this.

I use this role in a Vagrant dev environment where the /var/lib/mysql dir is persisted between instances of the VMs. This means that there is a scenario where the /root/.my.cnf may not exist while the mysql already does have a root password set. Placing the template task before executing any mysql_user tasks solves this.
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 this pull request may close these issues.

1 participant