vagrant-symfony
vagrant-symfony copied to clipboard
Allow access to MySQL from anywhere Failed
When i do vagrant up
i get the following error when is trying to run ansible tasks:
TASK [mysql : Allow access to MySQL from anywhere] *****************************
fatal: [default]: FAILED! => {"changed": false, "failed": true, "msg": "unsupported parameter for module: \"line"}
Using the last versions of everything: Vagrant (1.8.1), Virtualbox(5.0.14), Ansible (2.0.0.2)... someone with this problem?
Same problem for me.
TASK [mysql : Allow access to MySQL from anywhere] ***************************** fatal: [default]: FAILED! => {"changed": false, "failed": true, "msg": "unsupported parameter for module: \"line"}
Open ansible\roles\mysql\tasks\main.yml
Replace
lineinfile: dest=/etc/mysql/my.cnf regexp="^bind-address" "line=#bind-address = 0.0.0.0"
By
lineinfile: dest=/etc/mysql/my.cnf regexp="^bind-address" line="#bind-address = 0.0.0.0"
It worked at my side.
Same issue for redis task.
"line=#bind"
should be replaced by line="#bind"