diff --git a/tasks/postgres_pgpool.yml b/tasks/postgres_pgpool.yml index 41249ea..8adce70 100644 --- a/tasks/postgres_pgpool.yml +++ b/tasks/postgres_pgpool.yml @@ -39,7 +39,7 @@ dest: '{{ psql_conf_dir }}/pg_hba.conf' contype: host users: '{{ pgpool_recovery_user }}' - address: '{{ item.0.name }}' + address: '{{ item.1 }}' databases: 'all' method: 'trust' state: present