ansible-role-postgresql/templates/postgresql.conf.j2

10 lines
269 B
Text
Raw Normal View History

2021-09-10 12:09:38 +00:00
# {{ ansible_managed }}
{% for option, value in postgresql_config_full.items() %}
{{ option }} = {% if value is sameas true %}on
{% elif value is sameas false %}off
{% elif value is string %}'{{ value }}'
{% elif value is number %}{{ value }}
{% endif %}
{% endfor %}