community.mysql/tests/integration/targets/test_mysql_role
betanummeric bf5086d19d
mysql_role: add argument "members_must_exist" (#369)
* mysql_role: add argument "members_must_exist" (boolean, default true)

The assertion that the users supplied in the "members" argument exist is only executed when the new argument "members_must_exist" is true, to allow opt-out.

* mysql_role: add integration tests for argument members_must_exist

* add changelog fragment

* mysql_role: fix behavior of members_must_exist argument

* Update plugins/modules/mysql_role.py

Co-authored-by: Andrew Klychkov <aaklychkov@mail.ru>

* Update changelogs/fragments/369_mysql_role-add-members_must_exist.yml

Co-authored-by: Andrew Klychkov <aaklychkov@mail.ru>

Co-authored-by: Felix Hamme <felix.hamme@ionos.com>
Co-authored-by: Andrew Klychkov <aaklychkov@mail.ru>
2022-05-27 12:11:17 +02:00
..
defaults mysql_role: don't add members to a role when creating the role and "detach_members: true" is set (#367) 2022-05-25 11:47:39 +02:00
meta mysql_role: new module (#189) 2021-08-10 13:30:34 +02:00
tasks mysql_role: add argument "members_must_exist" (#369) 2022-05-27 12:11:17 +02:00