{% if postgresql_config_dir != pgdata_dir %} data_directory = '{{ pgdata_dir }}' {% endif %} {% for key, value in postgresql_computed_config.items() %} {{ key }} = {{ value }} {% endfor %}