ANXS / mysql

Ansible role for MySQL
MIT License
94 stars 70 forks source link

Change execution order in secure.yml #22

Open thewebists opened 10 years ago

thewebists commented 10 years ago

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.