Skip to content

Commit 0885558

Browse files
committed
Syntax adjustment for geerlingguy#29.
1 parent 7a6dd73 commit 0885558

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

tasks/secure-installation.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,12 +21,12 @@
2121
group: root
2222
mode: 0600
2323

24-
- name: Get list of hosts for anonymous user
25-
command: mysql -NBe 'SELECT Host from mysql.user WHERE User = ""'
24+
- name: Get list of hosts for the anonymous user.
25+
command: mysql -NBe 'SELECT Host FROM mysql.user WHERE User = ""'
2626
register: mysql_anonymous_hosts
2727
changed_when: false
2828

29-
- name: Remove anonymous MySQL user.
29+
- name: Remove anonymous MySQL users.
3030
mysql_user:
3131
name: ""
3232
host: "{{ item }}"

0 commit comments

Comments
 (0)