From 7ccaff92d19ffb80f10c432214b907c82cf834b7 Mon Sep 17 00:00:00 2001 From: JS <26802713+rujschafer@users.noreply.github.com> Date: Tue, 22 Oct 2024 08:49:32 -0400 Subject: [PATCH] Update mysql_user.py - table/privilege spacing update Add note for no spacing between the table and the privilege as this will make the task not idempotent in check mode but still make it idempotent when in normal mode. --- plugins/modules/mysql_user.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/modules/mysql_user.py b/plugins/modules/mysql_user.py index 78f11a9..a0a00d1 100644 --- a/plugins/modules/mysql_user.py +++ b/plugins/modules/mysql_user.py @@ -45,7 +45,7 @@ options: default: false priv: description: - - "MySQL privileges string in the format: C(db.table:priv1,priv2)." + - "MySQL privileges string in the format: C(db.table:priv1,priv2). Additionally, there must be no spaces between the table and the privilege as this will yield a non-idempotent check mode." - "Multiple privileges can be specified by separating each one using a forward slash: C(db.table1:priv/db.table2:priv)." - The format is based on MySQL C(GRANT) statement.