mirror of
https://github.com/ansible-collections/community.mysql.git
synced 2025-07-28 07:31:24 -07:00
Merge remote-tracking branch 'origin/main' into password_expiration_mysql_user
This commit is contained in:
commit
d506d833d9
5 changed files with 60 additions and 49 deletions
|
@ -119,10 +119,8 @@
|
|||
- name: Assert grant access for user1 on multiple database
|
||||
assert:
|
||||
that:
|
||||
- db_name in result.stdout
|
||||
with_items: "{{ db_names }}"
|
||||
vars:
|
||||
db_name: "{{ item }}"
|
||||
- item in result.stdout
|
||||
loop: "{{ db_names }}"
|
||||
|
||||
- name: Show grants access for user2 on multiple database
|
||||
command: "{{ mysql_command }} -e \"SHOW GRANTS FOR '{{ user_name_2 }}'@'localhost'\""
|
||||
|
@ -131,10 +129,8 @@
|
|||
- name: Assert grant access for user2 on multiple database
|
||||
assert:
|
||||
that:
|
||||
- db_name in result.stdout
|
||||
with_items: "{{db_names}}"
|
||||
vars:
|
||||
db_name: "{{ item }}"
|
||||
- item in result.stdout
|
||||
loop: "{{db_names}}"
|
||||
|
||||
- include_tasks: utils/remove_user.yml
|
||||
vars:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue