ITPLT-3650 drop support for Amazon Linux 2

This commit is contained in:
Lee Goolsbee
2024-04-26 13:42:17 -05:00
parent ecb262a15f
commit 677f2a85ca
46 changed files with 44 additions and 300 deletions

View File

@@ -2,10 +2,6 @@
driver:
name: docker
platforms:
- name: amazon_linux2
image: amazonlinux:2
groups:
- aws_node_local
- name: amazon_linux2023
image: amazonlinux:2023
groups:

View File

@@ -2,10 +2,6 @@
driver:
name: docker
platforms:
- name: amazon_linux2
image: amazonlinux:2
groups:
- aws_node_local
- name: amazon_linux2023
image: amazonlinux:2023
groups:

View File

@@ -2,10 +2,6 @@
driver:
name: docker
platforms:
- name: amazon_linux2
image: amazonlinux:2
groups:
- aws_node_local
- name: amazon_linux2023
image: amazonlinux:2023
groups:

View File

@@ -1,22 +1,5 @@
---
- name: Install AWS support packages
ansible.builtin.yum:
name:
- amazon-efs-utils
- amazon-ssm-agent
- awscli
- git
- ec2-utils
vars:
ansible_python_interpreter: /usr/bin/python2
- name: Install CloudWatch Agent
ansible.builtin.yum:
name:
- "{{ aws_cloudwatch_agent_rpm }}"
when: atl_aws_enable_cloudwatch is defined and atl_aws_enable_cloudwatch | bool
notify:
- Enable CloudWatch Agent
vars:
ansible_python_interpreter: /usr/bin/python2
- name: Amazon Linux 2 no longer supported
fail:
msg: "Amazon Linux 2 is no longer supported; see README.md for supported operating systems/environments."