DCD-224: Create a role for installation with the binary installer.

This commit is contained in:
Steve Smith
2019-05-07 18:42:40 +10:00
parent 9b9860a5ef
commit a5eefe326e
59 changed files with 1153 additions and 27 deletions

View File

@@ -1,17 +1,19 @@
---
- name: Install Java and other base packages on Amazon Linux
- name: Install JDK if necessary on Amazon Linux
yum:
name:
- java-{{ java_version }}-openjdk-devel
when: use_system_jdk
- name: Install other base packages on Amazon Linux
yum:
name:
- git-{{ git_version }}
tags:
- runtime_pkg
- dejavu-fonts-common
# Amazon Linux 2 supplies extra packages via a special command.
- name: Enable Postgresql from 'extras'
command: amazon-linux-extras install -y "postgresql{{ postgres_version }}"
args:
creates: /usr/bin/psql
tags:
- runtime_pkg