DCD-224: Rename product_base to product_common for consistency.

This commit is contained in:
Steve Smith
2019-04-10 09:50:10 +10:00
parent 3e0e058380
commit 32ae6a906a
11 changed files with 3 additions and 4 deletions

View File

@@ -0,0 +1,8 @@
---
- name: Install Java and other base packages on Amazon Linux
yum:
name:
- java-{{ java_version }}-openjdk-devel
- git-{{ git_version }}
- postgresql

View File

@@ -0,0 +1,19 @@
---
- name: Perform distro-specific tasks
include: "{{ ansible_distribution|lower }}.yml"
- name: Create product user
user:
name: "{{ atl_product_user }}"
comment: "Product runtime user"
- name: Create installation directories
file:
path: "{{ item }}"
state: directory
mode: 0750
owner: "{{ atl_product_user }}"
with_items:
- "{{ atl_product_home }}"
- "{{ atl_installer_temp }}"

View File

@@ -0,0 +1,8 @@
---
- name: Install Java and other base packages on Ubuntu
package:
name:
- openjdk-{{ java_major_version }}-jdk-headless
- postgresql-client
- git