mirror of
https://bitbucket.org/atlassian/dc-deployments-automation.git
synced 2025-12-17 18:33:06 -06:00
first pass at basic AL2022 support
This commit is contained in:
18
roles/aws_common/tasks/amazon-2022.yml
Normal file
18
roles/aws_common/tasks/amazon-2022.yml
Normal file
@@ -0,0 +1,18 @@
|
||||
---
|
||||
|
||||
- name: Install AWS support packages
|
||||
ansible.builtin.dnf:
|
||||
name:
|
||||
- amazon-efs-utils
|
||||
- amazon-ssm-agent
|
||||
- awscli
|
||||
- git
|
||||
- ec2-utils
|
||||
|
||||
- name: Install CloudWatch Agent
|
||||
ansible.builtin.dnf:
|
||||
name:
|
||||
- "{{ aws_cloudwatch_agent_rpm }}"
|
||||
when: atl_aws_enable_cloudwatch is defined and atl_aws_enable_cloudwatch | bool
|
||||
notify:
|
||||
- Enable CloudWatch Agent
|
||||
@@ -6,7 +6,7 @@
|
||||
- notest
|
||||
|
||||
- name: Install distro-specific prerequisites
|
||||
ansible.builtin.include_tasks: "{{ ansible_distribution|lower }}.yml"
|
||||
ansible.builtin.include_tasks: "{{ ansible_distribution | lower }}-{{ ansible_distribution_version }}.yml"
|
||||
|
||||
- name: Use EC2 instance ID for cluster node ID
|
||||
ansible.builtin.set_fact:
|
||||
|
||||
Reference in New Issue
Block a user