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

View File

@@ -7,17 +7,4 @@
user:
name: "{{ atl_product_user }}"
comment: "Product runtime user"
- name: Create installation directories
file:
path: "{{ item }}"
state: directory
mode: 0750
owner: "{{ atl_product_user }}"
group: "{{ atl_product_user }}"
with_items:
- "{{ atl_product_home }}"
- "{{ atl_installer_temp }}"
- "{{ atl_product_home_shared }}"
- "{{ atl_product_shared_plugins }}"
- "{{ atl_product_installation_base }}"
when: create_product_user

View File

@@ -1,10 +1,18 @@
---
- name: Install Java and other base packages on Ubuntu
- name: Install JDK if necessary on Ubuntu
package:
name:
- openjdk-{{ java_major_version }}-jdk-headless
when: use_system_jdk
tags:
- runtime_pkg
- name: Install other base packages on Ubuntu
package:
name:
- postgresql-client
- fonts-dejavu-core
- git
tags:
- runtime_pkg