Right now the various mysql_* modules will pull default connection information from the ~/.my.cnf file. This is especially important to make things repeatable especially when the server is newly provisioned and insecure.
But it doesn't use the socket information in the ~/.my.cnf file. Instead if your sever has the socket in a different spot you need to explicitly set it in every task. Not a huge deal, just slightly annoying when you don't need to specify the user/pw for each task. Would a PR be accepted that would use the socket from .my.cnf as the login_unix_socket if one exists? -- 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/CAJQqANd60222pmKGBNqUm9hi2jv4NAUxs-4d1ugfiBFtw5tJpQ%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
