Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

postgresql: add elements for list params to the modules documentation #63186

Merged
merged 1 commit into from
Oct 7, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
1 change: 1 addition & 0 deletions lib/ansible/modules/database/postgresql/postgresql_copy.py
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@
description:
- List of column names for the src/dst table to COPY FROM/TO.
type: list
elements: str
aliases: [ column ]
program:
description:
Expand Down
2 changes: 2 additions & 0 deletions lib/ansible/modules/database/postgresql/postgresql_idx.py
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,7 @@
- List of index columns that need to be covered by index.
- Mutually exclusive with I(state=absent).
type: list
elements: str
aliases:
- column
cond:
Expand Down Expand Up @@ -100,6 +101,7 @@
- Storage parameters like fillfactor, vacuum_cleanup_index_scale_factor, etc.
- Mutually exclusive with I(state=absent).
type: list
elements: str
cascade:
description:
- Automatically drop objects that depend on the index,
Expand Down
1 change: 1 addition & 0 deletions lib/ansible/modules/database/postgresql/postgresql_info.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@
- If you pass including and excluding values to the filter, for example, I(filter=!settings,ver),
the excluding values will be ignored.
type: list
elements: str
db:
description:
- Name of database to connect.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@
- The list of groups (roles) that need to be granted to or revoked from I(target_roles).
required: yes
type: list
elements: str
aliases:
- group
- source_role
Expand All @@ -41,6 +42,7 @@
- The list of target roles (groups will be granted to them).
required: yes
type: list
elements: str
aliases:
- target_role
- users
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@
- Cannot reassign ownership of objects that are required by the database system.
- Mutually exclusive with C(obj_type).
type: list
elements: str
fail_on_role:
description:
- If C(yes), fail when I(reassign_owned_by) role does not exist.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@
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).
type: list
elements: str
state:
description:
- The publication state.
Expand Down
2 changes: 2 additions & 0 deletions lib/ansible/modules/database/postgresql/postgresql_table.py
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,7 @@
description:
- Columns that are needed.
type: list
elements: str
rename:
description:
- New table name. Mutually exclusive with I(tablespace), I(owner),
Expand All @@ -79,6 +80,7 @@
- Storage parameters like fillfactor, autovacuum_vacuum_treshold, etc.
Mutually exclusive with I(rename) and I(truncate).
type: list
elements: str
db:
description:
- Name of database to connect and where the table will be created.
Expand Down
1 change: 1 addition & 0 deletions lib/ansible/modules/database/postgresql/postgresql_user.py
Original file line number Diff line number Diff line change
Expand Up @@ -150,6 +150,7 @@
description:
- The list of groups (roles) that need to be granted to the user.
type: list
elements: str
version_added: '2.9'
notes:
- The module creates a user (role) with login privilege by default.
Expand Down