From 637eed5a5c3cff7e7d71faadc5de6e591e32d1d0 Mon Sep 17 00:00:00 2001 From: Andrew Klychkov Date: Thu, 6 Feb 2020 18:05:42 +0300 Subject: postgresql modules: fix sanity issues (#67046) * postgresql modules: fix sanity issues * add changelog * fix changelog --- lib/ansible/modules/database/postgresql/postgresql_idx.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'lib/ansible/modules/database/postgresql/postgresql_idx.py') 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'), ) -- cgit v1.2.1