ansible-collections/community.postgresql

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

Aberta

#597 aberto em 4 de out. de 2023

 (1 comentário) (0 reação) (0 responsável)Python (116 forks)auto 404
help wanted

Métricas do repositório

Stars
 (142 estrelas)
Métricas de merge de PR
 (Mesclagem média 13d 5h) (3 fundiu PRs em 30d)

Description

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

Guia do colaborador