diff --git a/Ansible/ansible_collections/jfrog/platform/roles/postgres/templates/pg_hba.conf.j2 b/Ansible/ansible_collections/jfrog/platform/roles/postgres/templates/pg_hba.conf.j2 index cb2f923a..1a654fe9 100644 --- a/Ansible/ansible_collections/jfrog/platform/roles/postgres/templates/pg_hba.conf.j2 +++ b/Ansible/ansible_collections/jfrog/platform/roles/postgres/templates/pg_hba.conf.j2 @@ -13,6 +13,6 @@ host all all ::1/128 md5 ## remote connections IPv4 {% if postgres_allowed_hosts and postgres_allowed_hosts is iterable -%} {%- for host in postgres_allowed_hosts %} -{{ host.type | default('host') }} {{ host.database | default('all') }} {{ host.user | default('all') }} {{ host.address | default('0.0.0.0/0') }} {{ item.auth | default('trust') }} +{{ host.type | default('host') }} {{ host.database | default('all') }} {{ host.user | default('all') }} {{ host.address | default('0.0.0.0/0') }} {{ host.method | default('trust') }} {% endfor %} {% endif %}