ansible-roles/postgresql/tasks/pgpool-ii.yml

11 lines
353 B
YAML

---
- name: Install the pgpool package
apt: name={{ item }} state={{ psql_pgpool_pkg_state }}
with_items: '{{ pgpool_pkgs }}'
tags: [ 'postgresql', 'postgres', 'pgpool' ]
- name: Configure pcp
template: src=pcp.conf.j2 dest=/etc/pgpool2/pcp.conf owner=root group=postgres mode=0640
tags: [ 'postgresql', 'postgres', 'pgpool', 'pcp_conf' ]