Tons of updates including erpnext, fusionauth, kong, elasticsearch, postgres-12, opennebula-5.10...

This commit is contained in:
2020-04-15 18:46:59 -06:00
parent 957ff8bb8e
commit 0d76f1eb12
73 changed files with 4532 additions and 29 deletions

View File

@@ -0,0 +1,36 @@
---
# We use the official PostgreSQL repositories which contains many versions of PostgreSQL
# Most of these versions will be newer than comes stock with debian
# Add GPG keys
- name: Addding PostgreSQL sources GPG key
apt_key: url='https://www.postgresql.org/media/keys/ACCC4CF8.asc' state=present
# Add PostgreSQL repositories for Debian 9
- name: Adding PostgreSQL sources for Debian 9 Jessie
apt_repository: repo='deb http://apt.postgresql.org/pub/repos/apt/ stretch-pgdg main' state=present
when: ansible_os_family == "Debian" and ansible_distribution_major_version == "9"
# Add PostgreSQL repositories for Debian 10
- name: Adding PostgreSQL sources for Debian 10 Jessie
apt_repository: repo='deb http://apt.postgresql.org/pub/repos/apt/ buster-pgdg main' state=present
when: ansible_os_family == "Debian" and ansible_distribution_major_version == "10"
# Add PostgreSQL repositories for Ubuntu 16.04
- name: Adding PostgreSQL sources for Ubuntu 16.04
apt_repository: repo='deb http://apt.postgresql.org/pub/repos/apt/ xenial-pgdg main' state=present
when: ansible_distribution == "Ubuntu" and ansible_distribution_version == "16.04"
# Add PostgreSQL repositories for Ubuntu 19.04
- name: Adding PostgreSQL sources for Ubuntu 18.04
apt_repository: repo='deb http://apt.postgresql.org/pub/repos/apt/ bionic-pgdg main' state=present
when: ansible_distribution == "Ubuntu" and ansible_distribution_version == "18.04"
# Install PostgreSQL 11
- name: Installing PostgreSQL 11
apt:
update_cache: yes
state: present
name:
- postgresql-11
- python-psycopg2 # Required for ansible postgres manipulation

View File

@@ -0,0 +1,4 @@
---
# Install PostgreSQL 11 - Debian All Versions
- include_tasks: install-debian.yml
when: ansible_os_family == "Debian"