.my.cnf is written to the wrong directory under Vagrant
When I follow the instructions to use this ansible playbook inside a Vagrant machine, it stops halfway as it has installed a file named .my.cnf owned by root, under /home/ubuntu. But the playbook then expects to find this file under /home/vagrant. To proceed I simply then copied the file from the ubuntu users home directory to the vagrant users home directory, and re-ran the ansible playbook. It then all seemed to work successfully...