diff --git a/changelogs/fragments/445_add_service_name_to_plugin_pam_auth_pam_usage.yml b/changelogs/fragments/445_add_service_name_to_plugin_pam_auth_pam_usage.yml new file mode 100644 index 0000000..b06c16f --- /dev/null +++ b/changelogs/fragments/445_add_service_name_to_plugin_pam_auth_pam_usage.yml @@ -0,0 +1,3 @@ +--- +minor_changes: + - mysql_user - add plugin_auth_string as optional parameter to use a specific pam service if pam/auth_pam plugin is used. diff --git a/plugins/modules/mysql_user.py b/plugins/modules/mysql_user.py index 6c6acb4..ed7dde0 100644 --- a/plugins/modules/mysql_user.py +++ b/plugins/modules/mysql_user.py @@ -138,8 +138,7 @@ options: plugin_auth_string: description: - User's plugin auth_string (``CREATE USER user IDENTIFIED WITH plugin BY plugin_auth_string``). - - MariaDB If I(plugin) is ``pam`` an optional I(plugin_auth_string) ults in (``CREATE USER user IDENTIFIED WITH plugin USING plugin_auth_string``). - This was chosen because MySQL and MariaDB store the ``USING plugin_auth_string`` part in the ``authentication_string`` column in ``mysql.user``. + - If I(plugin) is ``pam`` (MariaDB) or ``auth_pam`` (MySQL) an optional I(plugin_auth_string) can be used to choose a specific PAM service. type: str version_added: '0.1.0' resource_limits: