From a85b169a0e309b326d08c04f570a1f8e6de9b46c Mon Sep 17 00:00:00 2001 From: Felix Fontein Date: Sat, 2 May 2020 15:36:20 +0200 Subject: [PATCH] Fix invalid 'sample' value (not a JSON value, since dictionary has non-string key). (#262) --- plugins/modules/database/postgresql/postgresql_info.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/modules/database/postgresql/postgresql_info.py b/plugins/modules/database/postgresql/postgresql_info.py index aad7ad2808..f52ec06206 100644 --- a/plugins/modules/database/postgresql/postgresql_info.py +++ b/plugins/modules/database/postgresql/postgresql_info.py @@ -291,7 +291,7 @@ replications: returned: if pg_stat_replication view existent type: dict sample: - - { 76580: { "app_name": "standby1", "backend_start": "2019-02-03 00:14:33.908593+03", + - { "76580": { "app_name": "standby1", "backend_start": "2019-02-03 00:14:33.908593+03", "client_addr": "10.10.10.2", "client_hostname": "", "state": "streaming", "usename": "postgres" } } contains: usename: