ansible-role-postgresql/templates/postgresql.conf.j2
2021-09-10 14:09:38 +02:00

9 lines
269 B
Django/Jinja

# {{ 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 %}