diff --git a/changelogs/fragments/87-mysql_user_show_routine_support.yml b/changelogs/fragments/87-mysql_user_show_routine_support.yml new file mode 100644 index 0000000..84568ee --- /dev/null +++ b/changelogs/fragments/87-mysql_user_show_routine_support.yml @@ -0,0 +1,2 @@ +bugfixes: +- mysql_user - add ``SHOW_ROUTINE`` privilege support (https://github.com/ansible-collections/community.mysql/issues/86). diff --git a/plugins/modules/mysql_user.py b/plugins/modules/mysql_user.py index 3f1f941..97940a7 100644 --- a/plugins/modules/mysql_user.py +++ b/plugins/modules/mysql_user.py @@ -338,7 +338,8 @@ VALID_PRIVS = frozenset(('CREATE', 'DROP', 'GRANT', 'GRANT OPTION', 'REPLICATION MASTER ADMIN', 'REPLICATION SLAVE', 'REPLICATION SLAVE ADMIN', - 'SET USER',)) + 'SET USER', + 'SHOW_ROUTINE',)) class InvalidPrivsError(Exception):