What is MySQL version? If 5.6 - root password is placed in /root/.mysql_secure or same file and when you login first time with it into mysql server, it ask you to change password.
I have role to setup MySQL For 5.3 - 5.5 Install packages, run mysql_install_db, generate password and place it into variable, generate unattended file like this: <Empry line> <Empry line> PASSWORD PASSWORD and apply this file on server via "cat unattended_file | mysql_secure_install" -- You received this message because you are subscribed to the Google Groups "Ansible Project" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/f5f6c23c-0438-4684-a95a-35b1cfb24638%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
