mirror of
https://bitbucket.org/atlassian/dc-deployments-automation.git
synced 2025-12-13 16:33:08 -06:00
DCD-224: Rename product_base to product_common for consistency.
This commit is contained in:
8
roles/product_common/tasks/amazon.yml
Normal file
8
roles/product_common/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
|
||||
19
roles/product_common/tasks/main.yml
Normal file
19
roles/product_common/tasks/main.yml
Normal 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 }}"
|
||||
8
roles/product_common/tasks/ubuntu.yml
Normal file
8
roles/product_common/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