Skip to content

Commit

Permalink
fix: correct the markup in module documentation (#235)
Browse files Browse the repository at this point in the history
* feat: deprecate 'priv' argument in postgresql_user

fixes #212

* fix: correct the markup in module documentation

* fix: line length for pep8 complince
  • Loading branch information
hunleyd authored Apr 6, 2022
1 parent 0fb05ba commit 218641f
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions plugins/modules/postgresql_user.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,8 @@
- Set I(fail_on_user) to C(no) to make the module ignore failures when trying to remove a user.
In this case, the module reports if changes happened as usual and separately reports
whether the user has been removed or not.
- B(WARNING) The C(priv) option has been B(deprecated) and will be removed in community.postgresql 3.0.0. Please use the I(postgresql_privs) module instead.
- B(WARNING) The I(priv) option has been B(deprecated) and will be removed in community.postgresql 3.0.0. Please use the
M(community.postgresql.postgresql_privs) module instead.
options:
name:
description:
Expand Down Expand Up @@ -60,7 +61,7 @@
priv:
description:
- This option has been B(deprecated) and will be removed in
community.postgresql 3.0.0. Please use the I(postgresql_privs) module to
community.postgresql 3.0.0. Please use the M(community.postgresql.postgresql_privs) module to
GRANT/REVOKE permissions instead.
- "Slash-separated PostgreSQL privileges string: C(priv1/priv2), where
you can define the user's privileges for the database ( allowed options - 'CREATE',
Expand Down

0 comments on commit 218641f

Please sign in to comment.