Skip to content

Commit ea1f488

Browse files
committedApr 25, 2019
more testing
1 parent c87e9c4 commit ea1f488

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎tasks/secure-installation.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@
6464
when: mysql_install_packages | bool or mysql_root_password_update
6565

6666
- name: Get list of hosts for the anonymous user.
67-
shell: mysql -NBe 'SELECT Host FROM mysql.user WHERE User = ""'
67+
shell: "mysql --defaults-extra-file={{mysql_root_home}}/.my.cnf -NBe 'SELECT Host FROM mysql.user WHERE User = \"\"'"
6868
register: mysql_anonymous_hosts
6969
changed_when: false
7070
check_mode: no

0 commit comments

Comments
 (0)
Please sign in to comment.