ansible-collections/community.postgresql

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

オープン

#597 opened on 2023/10/04

 (1 件のコメント) (0 件のリアクション) (0 人の担当者)Python (116 件のフォーク)auto 404
help wanted

Repository metrics

Stars
 (142 個のスター)
PR merge metrics
 (PR metrics pending)

説明

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

コントリビューターガイド