mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-04-27 21:01:27 -07:00
Postgresql privs reformat (#54717)
* postgresql_privs: fix doc format, pgutils * postgresql_privs: added pgutils, ret value * postgresql_privs: fix test * postgresql_privs: fixes * postgresql_privs: fixes * postgresql_privs: fixed CI
This commit is contained in:
parent
7ea01da38f
commit
40f65a54ec
8 changed files with 243 additions and 173 deletions
|
@ -33,11 +33,15 @@ options:
|
|||
description:
|
||||
- Name of database where the index will be created/dropped.
|
||||
type: str
|
||||
aliases:
|
||||
- login_db
|
||||
port:
|
||||
description:
|
||||
- Database port to connect.
|
||||
type: int
|
||||
default: 5432
|
||||
aliases:
|
||||
- login_port
|
||||
login_user:
|
||||
description:
|
||||
- User (role) used to authenticate with PostgreSQL.
|
||||
|
@ -432,9 +436,7 @@ def main():
|
|||
argument_spec = postgres_common_argument_spec()
|
||||
argument_spec.update(
|
||||
idxname=dict(type='str', required=True, aliases=['name']),
|
||||
db=dict(type='str'),
|
||||
ssl_mode=dict(type='str', default='prefer', choices=['allow', 'disable', 'prefer', 'require', 'verify-ca', 'verify-full']),
|
||||
ca_cert=dict(type='str', aliases=['ssl_rootcert']),
|
||||
db=dict(type='str', aliases=['login_db']),
|
||||
state=dict(type='str', default='present', choices=['absent', 'present']),
|
||||
concurrent=dict(type='bool', default=True),
|
||||
table=dict(type='str'),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue