summaryrefslogtreecommitdiff
path: root/lib/ansible/modules/database/postgresql/postgresql_copy.py
diff options
context:
space:
mode:
authorAndrew Klychkov <aaklychkov@mail.ru>2020-02-06 18:05:42 +0300
committerGitHub <noreply@github.com>2020-02-06 16:05:42 +0100
commit637eed5a5c3cff7e7d71faadc5de6e591e32d1d0 (patch)
tree845e10bfa8fa8c203e8461494dab4d2badade764 /lib/ansible/modules/database/postgresql/postgresql_copy.py
parenta5b5101e09a0b7617d697f493eb25630c73bf4e0 (diff)
downloadansible-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_copy.py')
-rw-r--r--lib/ansible/modules/database/postgresql/postgresql_copy.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/ansible/modules/database/postgresql/postgresql_copy.py b/lib/ansible/modules/database/postgresql/postgresql_copy.py
index 315920f8e1..9c5a3766fb 100644
--- a/lib/ansible/modules/database/postgresql/postgresql_copy.py
+++ b/lib/ansible/modules/database/postgresql/postgresql_copy.py
@@ -334,7 +334,7 @@ def main():
copy_from=dict(type='path', aliases=['from']),
src=dict(type='str', aliases=['source']),
dst=dict(type='str', aliases=['destination']),
- columns=dict(type='list', aliases=['column']),
+ columns=dict(type='list', elements='str', aliases=['column']),
options=dict(type='dict'),
program=dict(type='bool', default=False),
db=dict(type='str', aliases=['login_db']),