postgresql: add elements for list params to the module's documentation (#63186)

pull/63197/head
Andrey Klychkov 6 years ago committed by ansibot
parent 0554b50eed
commit 8a37a2440e

@ -51,6 +51,7 @@ options:
description: description:
- List of column names for the src/dst table to COPY FROM/TO. - List of column names for the src/dst table to COPY FROM/TO.
type: list type: list
elements: str
aliases: [ column ] aliases: [ column ]
program: program:
description: description:

@ -65,6 +65,7 @@ options:
- List of index columns that need to be covered by index. - List of index columns that need to be covered by index.
- Mutually exclusive with I(state=absent). - Mutually exclusive with I(state=absent).
type: list type: list
elements: str
aliases: aliases:
- column - column
cond: cond:
@ -100,6 +101,7 @@ options:
- Storage parameters like fillfactor, vacuum_cleanup_index_scale_factor, etc. - Storage parameters like fillfactor, vacuum_cleanup_index_scale_factor, etc.
- Mutually exclusive with I(state=absent). - Mutually exclusive with I(state=absent).
type: list type: list
elements: str
cascade: cascade:
description: description:
- Automatically drop objects that depend on the index, - Automatically drop objects that depend on the index,

@ -33,6 +33,7 @@ options:
- If you pass including and excluding values to the filter, for example, I(filter=!settings,ver), - If you pass including and excluding values to the filter, for example, I(filter=!settings,ver),
the excluding values will be ignored. the excluding values will be ignored.
type: list type: list
elements: str
db: db:
description: description:
- Name of database to connect. - Name of database to connect.

@ -32,6 +32,7 @@ options:
- The list of groups (roles) that need to be granted to or revoked from I(target_roles). - The list of groups (roles) that need to be granted to or revoked from I(target_roles).
required: yes required: yes
type: list type: list
elements: str
aliases: aliases:
- group - group
- source_role - source_role
@ -41,6 +42,7 @@ options:
- The list of target roles (groups will be granted to them). - The list of target roles (groups will be granted to them).
required: yes required: yes
type: list type: list
elements: str
aliases: aliases:
- target_role - target_role
- users - users

@ -51,6 +51,7 @@ options:
- Cannot reassign ownership of objects that are required by the database system. - Cannot reassign ownership of objects that are required by the database system.
- Mutually exclusive with C(obj_type). - Mutually exclusive with C(obj_type).
type: list type: list
elements: str
fail_on_role: fail_on_role:
description: description:
- If C(yes), fail when I(reassign_owned_by) role does not exist. - If C(yes), fail when I(reassign_owned_by) role does not exist.

@ -41,6 +41,7 @@ options:
nothing will be changed. If you need to add all tables to the publication with the same name, nothing will be changed. If you need to add all tables to the publication with the same name,
drop existent and create new without passing I(tables). drop existent and create new without passing I(tables).
type: list type: list
elements: str
state: state:
description: description:
- The publication state. - The publication state.

@ -63,6 +63,7 @@ options:
description: description:
- Columns that are needed. - Columns that are needed.
type: list type: list
elements: str
rename: rename:
description: description:
- New table name. Mutually exclusive with I(tablespace), I(owner), - New table name. Mutually exclusive with I(tablespace), I(owner),
@ -79,6 +80,7 @@ options:
- Storage parameters like fillfactor, autovacuum_vacuum_treshold, etc. - Storage parameters like fillfactor, autovacuum_vacuum_treshold, etc.
Mutually exclusive with I(rename) and I(truncate). Mutually exclusive with I(rename) and I(truncate).
type: list type: list
elements: str
db: db:
description: description:
- Name of database to connect and where the table will be created. - Name of database to connect and where the table will be created.

@ -150,6 +150,7 @@ options:
description: description:
- The list of groups (roles) that need to be granted to the user. - The list of groups (roles) that need to be granted to the user.
type: list type: list
elements: str
version_added: '2.9' version_added: '2.9'
notes: notes:
- The module creates a user (role) with login privilege by default. - The module creates a user (role) with login privilege by default.

Loading…
Cancel
Save