Skip to content
Snippets Groups Projects
Commit d947d15d authored by Jafar Lie's avatar Jafar Lie
Browse files

fixed roles for mysql

parent 401d50f4
No related branches found
No related tags found
1 merge request!293Ubuntu
......@@ -25,6 +25,8 @@
# this will only work if a completely fresh db gets installed because it gets shipped with a blank root pw
- name: update mysql root password for all root accounts
mysql_user: name=root host=localhost password={{ mysql_root_password }} login_user=root check_implicit_admin=yes
become: true
become_user: root
- name: "Adding user database"
mysql_db: name={{ mysql_user_db_name }} state=present login_user=root login_password={{ mysql_root_password }}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment