use linux socket
This commit is contained in:
parent
c5e60d80f9
commit
8fd4908542
|
@ -8,6 +8,7 @@
|
||||||
|
|
||||||
- name: Remove unnecessary root accounts.
|
- name: Remove unnecessary root accounts.
|
||||||
community.mysql.mysql_user:
|
community.mysql.mysql_user:
|
||||||
|
login_unix_socket: /var/run/mysqld/mysqld.sock
|
||||||
name: root
|
name: root
|
||||||
host: "{{ item }}"
|
host: "{{ item }}"
|
||||||
state: absent
|
state: absent
|
||||||
|
@ -18,6 +19,7 @@
|
||||||
|
|
||||||
- name: Remove unnecessary anonymous accounts.
|
- name: Remove unnecessary anonymous accounts.
|
||||||
community.mysql.mysql_user:
|
community.mysql.mysql_user:
|
||||||
|
login_unix_socket: /var/run/mysqld/mysqld.sock
|
||||||
name: ""
|
name: ""
|
||||||
host: "{{ item }}"
|
host: "{{ item }}"
|
||||||
state: absent
|
state: absent
|
||||||
|
@ -28,6 +30,7 @@
|
||||||
|
|
||||||
- name: Remove test database.
|
- name: Remove test database.
|
||||||
community.mysql.mysql_db:
|
community.mysql.mysql_db:
|
||||||
|
login_unix_socket: /var/run/mysqld/mysqld.sock
|
||||||
db: tests
|
db: tests
|
||||||
state: absent
|
state: absent
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue