mirror of
https://bitbucket.org/atlassian/dc-deployments-automation.git
synced 2025-12-14 00:43:06 -06:00
DCD-224: Generalise the AWS base package install role.
This commit is contained in:
11
roles/aws_common/tasks/amazon.yml
Normal file
11
roles/aws_common/tasks/amazon.yml
Normal file
@@ -0,0 +1,11 @@
|
||||
---
|
||||
|
||||
- name: Install AWS support packages
|
||||
yum:
|
||||
name:
|
||||
- amazon-ssm-agent
|
||||
- amazon-efs-utils
|
||||
|
||||
# Amazon Linux 2 supplies extra packages via a special command.
|
||||
- name: Enable Postgresql from 'extras'
|
||||
command: amazon-linux-extras enable -y "postgresql{{ postgres_version }}"
|
||||
4
roles/aws_common/tasks/main.yml
Normal file
4
roles/aws_common/tasks/main.yml
Normal file
@@ -0,0 +1,4 @@
|
||||
---
|
||||
|
||||
- name: Install distro-specific prerequisites
|
||||
include: "{{ ansible_distribution|lower }}.yml"
|
||||
Reference in New Issue
Block a user