File tree Expand file tree Collapse file tree 2 files changed +6
-2
lines changed
Expand file tree Collapse file tree 2 files changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -62,10 +62,8 @@ postgresql:
6262 - host all {{ postgresql_superuser_name }} {{ ansible_host }}/32 trust
6363 - host replication {{ postgresql_replication_user }} 127.0.0.1/32 {{ postgresql_replication_auth_method }}
6464{% for host in groups ['promoters' ] %}
65- {% if host != inventory_hostname %}
6665 - host replication {{ postgresql_replication_user }} {{ hostvars[host] ['ansible_host'] }}/32 {{ postgresql_replication_auth_method }}
6766 - host all {{ postgresql_superuser_name }} {{ hostvars[host] ['ansible_host'] }}/32 md5
68- {% endif %}
6967{% endfor %}
7068{% if postgresql_additional_pg_hba is defined %}
7169{% for rule in postgresql_additional_pg_hba %}
Original file line number Diff line number Diff line change 4040 dest : /etc/pgbouncer/pgbouncer.ini
4141 mode : ' 0644'
4242
43+ - name : Create userlist.txt
44+ ansible.builtin.template :
45+ src : userlist.txt.j2
46+ dest : /etc/pgbouncer/userlist.txt
47+ mode : ' 0600'
48+
4349- name : Ensure correct ownership of /etc/pgbouncer/userlist.txt
4450 ansible.builtin.file :
4551 path : /etc/pgbouncer/userlist.txt
You can’t perform that action at this time.
0 commit comments