Skip to content

Commit

Permalink
Update mysql_user.py - table/privilege spacing update (#687)
Browse files Browse the repository at this point in the history
* 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.

* Update plugins/modules/mysql_user.py

Co-authored-by: Andrew Klychkov <[email protected]>

---------

Co-authored-by: Andrew Klychkov <[email protected]>
  • Loading branch information
rujschafer and Andersson007 authored Oct 23, 2024
1 parent a5afa1a commit 93cd185
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions plugins/modules/mysql_user.py
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@
priv:
description:
- "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.
Expand Down

0 comments on commit 93cd185

Please sign in to comment.