diff options
author | Andrew Klychkov <aaklychkov@mail.ru> | 2020-02-06 18:05:42 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-02-06 16:05:42 +0100 |
commit | 637eed5a5c3cff7e7d71faadc5de6e591e32d1d0 (patch) | |
tree | 845e10bfa8fa8c203e8461494dab4d2badade764 /lib/ansible/modules/database/postgresql/postgresql_idx.py | |
parent | a5b5101e09a0b7617d697f493eb25630c73bf4e0 (diff) | |
download | ansible-637eed5a5c3cff7e7d71faadc5de6e591e32d1d0.tar.gz |
postgresql modules: fix sanity issues (#67046)
* postgresql modules: fix sanity issues
* add changelog
* fix changelog
Diffstat (limited to 'lib/ansible/modules/database/postgresql/postgresql_idx.py')
-rw-r--r-- | lib/ansible/modules/database/postgresql/postgresql_idx.py | 5 |
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'), ) |