ansible-collections/community.postgresql

String value pulled from postgres and present in settings dictionary compared incorrectly

开放

#597 创建于 2023年10月4日

 (1 条评论) (0 个反应) (0 位负责人)Python (116 个派生)auto 404
help wanted

仓库指标

星标
 (142 个星标)
PR 合并指标
 (PR 指标待抓取)

描述

SUMMARY

String value pulled from postgres and present in settings dictionary compared incorrectly

ISSUE TYPE
  • Bug Report
COMPONENT NAME

plugins/modules/postgresql_set.py

ANSIBLE VERSION
COLLECTION VERSION
CONFIGURATION
OS / ENVIRONMENT

not depends

STEPS TO REPRODUCE
      - name: shared_preload_libraries
        value: 'pg_stat_statements,pg_stat_kcache,pg_background'

EXPECTED RESULTS

resulting config

...
shared_preload_libraries = 'pg_stat_statements, pg_stat_kcache, pg_background'
...

should be no change and restart on second run w/o changes

ACTUAL RESULTS

value: 'pg_stat_statements,pg_stat_kcache,pg_background'

should pass the prettyfier before being compared with effective value

贡献者指南