We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents b0fd5c3 + e27700b commit a892a5cCopy full SHA for a892a5c
tasks/secure-installation.yml
@@ -9,6 +9,7 @@
9
command: mysql -NBe 'SELECT Host FROM mysql.user WHERE User = "root" ORDER BY (Host="localhost") ASC'
10
register: mysql_root_hosts
11
changed_when: false
12
+ always_run: true
13
14
# Note: We do not use mysql_user for this operation, as it doesn't always update
15
# the root password correctly. See: https://goo.gl/MSOejW
@@ -32,6 +33,7 @@
32
33
command: mysql -NBe 'SELECT Host FROM mysql.user WHERE User = ""'
34
register: mysql_anonymous_hosts
35
36
37
38
- name: Remove anonymous MySQL users.
39
mysql_user:
0 commit comments