Browse Source

ansible: fix pgbouncer in Docker

rm /etc/init.d/pgbouncer
merge-requests/157/head
Andrew Shu 7 months ago
parent
commit
6fc80f3242
  1. 11
      ansible/roles/pgbouncer/tasks/main.yml

11
ansible/roles/pgbouncer/tasks/main.yml

@ -3,6 +3,17 @@
apt:
name: pgbouncer
- name: Remove pgbouncer from init.d (may conflict with systemd service)
file:
path: /etc/init.d/pgbouncer
state: absent
when: is_docker
- name: Update rc.d to reflect init.d removal
command:
cmd: update-rc.d pgbouncer remove
when: is_docker
- name: Add pgbouncer.ini
template:
src: pgbouncer.ini.jinja2

Loading…
Cancel
Save