mirror of
https://bitbucket.org/atlassian/dc-deployments-automation.git
synced 2025-12-15 01:13:07 -06:00
DCD-224: Generalise and expand testing of product base role.
This commit is contained in:
8
roles/product_base/tasks/amazon.yml
Normal file
8
roles/product_base/tasks/amazon.yml
Normal 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
|
||||
@@ -1,5 +1,8 @@
|
||||
---
|
||||
|
||||
- name: Perform distro-specific tasks
|
||||
include: "{{ ansible_distribution|lower }}.yml"
|
||||
|
||||
- name: Create product user
|
||||
user:
|
||||
name: "{{ atl_product_user }}"
|
||||
|
||||
8
roles/product_base/tasks/ubuntu.yml
Normal file
8
roles/product_base/tasks/ubuntu.yml
Normal 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
|
||||
Reference in New Issue
Block a user