This commit is contained in:
Andrew Klychkov 2022-05-05 11:28:37 +02:00
commit 72db4f67ce
2 changed files with 23 additions and 4 deletions

View file

@ -24,7 +24,6 @@
loop:
- data1
- data2
- data3
- name: Create user with privileges
mysql_user:
@ -49,7 +48,7 @@
- name: Create role
mysql_role:
<<: *mysql_params
name: test
name: test231
members:
- '{{ user_name_3 }}@localhost'
@ -82,7 +81,6 @@
loop:
- data1
- data2
- data3
- name: Drop test user
mysql_user:
@ -93,5 +91,5 @@
- name: Drop test role
mysql_role:
<<: *mysql_params
name: test
name: test231
state: absent