Skip to content

Commit d6a99c9

Browse files
author
Sebastian Gumprich
committed
use fqcn for mysql tasks
Signed-off-by: Sebastian Gumprich <[email protected]>
1 parent 5ed100b commit d6a99c9

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

roles/mysql_hardening/tasks/mysql_secure_installation.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
when: mysql_root_password == '-----====>SetR00tPa$$wordH3r3!!!<====-----'
66

77
- name: ensure that the root password is present
8-
mysql_user:
8+
community.mysql.mysql_user:
99
name: 'root'
1010
host_all: true
1111
password: '{{ mysql_root_password | mandatory }}'
@@ -20,14 +20,14 @@
2020
tags: my_cnf
2121

2222
- name: ensure that the test database is absent
23-
mysql_db:
23+
community.mysql.mysql_db:
2424
name: test
2525
state: absent
2626
login_unix_socket: "{{ login_unix_socket | default(omit) }}"
2727
when: mysql_remove_test_database
2828

2929
- name: ensure that anonymous users are absent
30-
mysql_user:
30+
community.mysql.mysql_user:
3131
name: ''
3232
state: absent
3333
host_all: true

0 commit comments

Comments
 (0)