]>
Commit | Line | Data |
---|---|---|
d0bc90e0 P |
1 | - name: Add Postgres repository key |
2 | apt_key: id=7FCC7D46ACCC4CF8 url=https://apt.postgresql.org/pub/repos/apt/ACCC4CF8.asc state=present | |
3 | when: ansible_distribution_release != 'NA' | |
4 | ||
5 | - name: Add Postgres repository | |
6 | apt_repository: repo="deb http://apt.postgresql.org/pub/repos/apt/ {{ ansible_distribution_release }}-pgdg main" | |
7 | when: ansible_distribution_release != 'NA' | |
8 | ||
9 | - name: Increase shmmax sysctl paramater | |
10 | sysctl: name="kernel.shmmax" value=586162176 sysctl_set=yes state=present reload=yes | |
11 | ||
12 | - name: Install rsync | |
13 | apt: name=rsync | |
14 | when: ansible_distribution_release != 'NA' | |
15 | ||
16 | - name: Install time | |
17 | apt: name=time state=present | |
18 | ||
19 | - name: Install barman-cli | |
20 | apt: name=barman-cli state=present | |
21 | ||
22 | - name: Install pg-activity | |
23 | apt: name=pg-activity state=present |