Trying to fix mysql password change

This commit is contained in:
2016-02-03 08:45:58 -05:00
parent 90c55214fc
commit 89937d1321

View File

@@ -12,9 +12,9 @@
action: shell mysql -e "CREATE USER 'haproxy_check'@'%'; FLUSH PRIVILEGES;" action: shell mysql -e "CREATE USER 'haproxy_check'@'%'; FLUSH PRIVILEGES;"
- name: Set up user for wrestlingtourney - name: Set up user for wrestlingtourney
action: shell mysql -e "CREATE USER 'heroku_jcw'@'%' IDENTIFIED BY '($heroku_jcw_password)';GRANT ALL PRIVILEGES ON wrestlingtourney.* TO 'heroku_jcw'@'%'; FLUSH PRIVILEGES;" action: shell mysql -e "CREATE USER 'heroku_jcw'@'%' IDENTIFIED BY '$heroku_jcw_password';GRANT ALL PRIVILEGES ON wrestlingtourney.* TO 'heroku_jcw'@'%'; FLUSH PRIVILEGES;"
- name: set mysql root password - name: set mysql root password
action: shell mysql -e "UPDATE mysql.user SET password=PASSWORD('$root_mysql_password') where user='root'; FLUSH PRIVILEGES;" action: shell mysql -e "UPDATE mysql.user SET password=PASSWORD('$root_mysql_password') where user='root';"