From 1e9eebdc93029b3af3056a3e8f059bc9bbd54cd1 Mon Sep 17 00:00:00 2001 From: Andrey Klychkov Date: Tue, 3 Sep 2019 19:38:50 +0300 Subject: [PATCH] Backport of 61538: postgresql modules: explicit defaults for bool params (#61677) --- lib/ansible/modules/database/postgresql/postgresql_table.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/ansible/modules/database/postgresql/postgresql_table.py b/lib/ansible/modules/database/postgresql/postgresql_table.py index 5b3b18a7ee6..4216720b496 100644 --- a/lib/ansible/modules/database/postgresql/postgresql_table.py +++ b/lib/ansible/modules/database/postgresql/postgresql_table.py @@ -458,11 +458,11 @@ def main(): db=dict(type='str', default='', aliases=['login_db']), tablespace=dict(type='str'), owner=dict(type='str'), - unlogged=dict(type='bool'), + unlogged=dict(type='bool', default=False), like=dict(type='str'), including=dict(type='str'), rename=dict(type='str'), - truncate=dict(type='bool'), + truncate=dict(type='bool', default=False), columns=dict(type='list'), storage_params=dict(type='list'), session_role=dict(type='str'),