cscart / server-ansible-playbooks

Scenarios for CS-Cart server configurations
GNU General Public License v3.0
18 stars 13 forks source link

Fail on "Set the MySQL root password" #21

Open Snadex opened 4 years ago

Snadex commented 4 years ago

Hello, running the playbook inventory_varnish lvemp7.yml, fails with TASK [mysql/common : Set the MySQL root password] ****************************** fatal: [127.0.0.1]: FAILED! => {"msg": "Invalid variable name in 'register' specified: 'mysql.password_result'"}

Changing the line register: mysql.password_result to register: mysql_password_result

Solves it

andytheapedemontague commented 4 years ago

@Snadex what Ansible version is this? BTW I grepped for mysql.password_result and I'm not sure it's even used anywhere else so I think it's safe we chop that out altogether.