Na aula 06 onde separamos no yml o App e o DB, aparece o erro abaixo:
*root@srv-ansible-master:/playbooks/746-aula6# vim /etc/ansible/hosts root@srv-ansible-master:/playbooks/746-aula6# ansible-playbook provisioning.ymlPLAY [database]
TASK [Gathering Facts] ok: [192.168.2.131]
TASK [Instala pacotes de dependencia do sistema operacional] changed: [192.168.2.131] => (item=[u'mysql-server-5.7', u'python-mysqldb'])
TASK [Cria o banco no MySQL] fatal: [192.168.2.131]: FAILED! => {"changed": false, "msg": "unable to find /root/.my.cnf. Exception message: (2002, "Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)")"} to retry, use: --limit @/root/playbooks/746-aula6/provisioning.retry
PLAY RECAP 192.168.2.131 : ok=2 changed=1 unreachable=0 failed=1*