eae2eed7b0
All checks were successful
Ansible Lint |Total|New|Outstanding|Fixed|Trend
|:-:|:-:|:-:|:-:|:-:
|4831|10|4821|5|:-1:
Reference build: <a href="https://jenkins.evolix.org/job/gitea/job/ansible-roles/job/unstable/211//ansiblelint">Evolix » ansible-roles » unstable #211</a>
gitea/ansible-roles/pipeline/head This commit looks good
18 lines
409 B
YAML
18 lines
409 B
YAML
---
|
|
- name: PgBouncer is installed
|
|
apt:
|
|
name: pgbouncer
|
|
state: present
|
|
- name: Limit for PgBouncer is set
|
|
lineinfile:
|
|
path: /etc/default/pgbouncer
|
|
line: ulimit -n 65536
|
|
- name: Add config file for PgBouncer
|
|
template:
|
|
src: pgbouncer.ini.j2
|
|
dest: /etc/pgbouncer/pgbouncer.ini
|
|
- name: Populate userlist.txt
|
|
template:
|
|
src: userlist.txt.j2
|
|
dest: /etc/pgbouncer/userlist.txt
|