summaryrefslogtreecommitdiff
path: root/lib/ansible/modules/database/postgresql/postgresql_idx.py
diff options
context:
space:
mode:
Diffstat (limited to 'lib/ansible/modules/database/postgresql/postgresql_idx.py')
-rw-r--r--lib/ansible/modules/database/postgresql/postgresql_idx.py5
1 files changed, 2 insertions, 3 deletions
diff --git a/lib/ansible/modules/database/postgresql/postgresql_idx.py b/lib/ansible/modules/database/postgresql/postgresql_idx.py
index bb0cd4999e..baf96e0ba3 100644
--- a/lib/ansible/modules/database/postgresql/postgresql_idx.py
+++ b/lib/ansible/modules/database/postgresql/postgresql_idx.py
@@ -59,7 +59,6 @@ options:
- Table to create index on it.
- Mutually exclusive with I(state=absent).
type: str
- required: true
columns:
description:
- List of index columns that need to be covered by index.
@@ -469,11 +468,11 @@ def main():
unique=dict(type='bool', default=False),
table=dict(type='str'),
idxtype=dict(type='str', aliases=['type']),
- columns=dict(type='list', aliases=['column']),
+ columns=dict(type='list', elements='str', aliases=['column']),
cond=dict(type='str'),
session_role=dict(type='str'),
tablespace=dict(type='str'),
- storage_params=dict(type='list'),
+ storage_params=dict(type='list', elements='str'),
cascade=dict(type='bool', default=False),
schema=dict(type='str'),
)