Ansible roles by Evolix
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
ansible-roles/postgresql/tasks/packages_stretch.yml

16 lines
348 B

---
- name: "Set variables (Debian 9)"
set_fact:
postgresql_version: '9.6'
when: postgresql_version is none or postgresql_version | length == 0
- include: pgdg-repo.yml
when: postgresql_version != '9.6'
- name: Install postgresql package
apt:
name:
- "postgresql-{{postgresql_version}}"
- ptop
- libdbd-pg-perl