Skip to content

Commit e8575a7

Browse files
committed
Syntax adjustment for geerlingguy#28.
1 parent 364cb3e commit e8575a7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tasks/secure-installation.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
2-
- name: Get list of hosts for root user
3-
command: mysql -NBe 'SELECT Host from mysql.user WHERE User = "root" order by (Host="localhost") ASC'
2+
- name: Get list of hosts for the root user.
3+
command: mysql -NBe 'SELECT Host FROM mysql.user WHERE User = "root" ORDER BY (Host="localhost") ASC'
44
register: mysql_root_hosts
55
changed_when: false
66

0 commit comments

Comments
 (0)