diff --git a/tasks/replication.yml b/tasks/replication.yml index bf1af73..dadc3d0 100644 --- a/tasks/replication.yml +++ b/tasks/replication.yml @@ -1,4 +1,9 @@ --- +- name: Install psycopg2 packages + ansible.builtin.apt: + update_cache: true + name: psycopg2 + - name: Grant user replication access for replication. community.postgresql.postgresql_pg_hba: dest: "{{ storage_directory }}/postgres/pg_hba.conf"