mirror of
https://gitea.0xace.cc/ansible-galaxy/pgbouncer.git
synced 2025-06-29 03:03:07 +00:00
keep old configs on update
update regex
This commit is contained in:
@ -96,6 +96,7 @@
|
||||
owner: "{{ pgbouncer_systemd_user }}"
|
||||
group: "{{ pgbouncer_systemd_group }}"
|
||||
mode: 0640
|
||||
backup: yes
|
||||
notify: "restart pgbouncer"
|
||||
when: existing_pgcluster is not defined or not existing_pgcluster|bool
|
||||
tags: pgbouncer_conf, pgbouncer
|
||||
@ -136,9 +137,10 @@
|
||||
template:
|
||||
src: templates/userlist.txt.j2
|
||||
dest: "{{ pgbouncer_auth_file }}"
|
||||
owner: postgres
|
||||
group: postgres
|
||||
owner: "{{ pgbouncer_systemd_user }}"
|
||||
group: "{{ pgbouncer_systemd_group }}"
|
||||
mode: 0640
|
||||
backup: yes
|
||||
when: existing_pgcluster is not defined or not existing_pgcluster|bool
|
||||
tags: pgbouncer
|
||||
|
||||
|
Reference in New Issue
Block a user