mirror of
https://bitbucket.org/atlassian/dc-deployments-automation.git
synced 2025-12-15 17:33:06 -06:00
al2022 -> al2023
This commit is contained in:
@@ -11,7 +11,7 @@ if [[ $ID = "amzn" ]] && [[ $VERSION = "2" ]]; then
|
||||
python38 \
|
||||
python38-pip \
|
||||
python38-devel
|
||||
elif [[ $ID = "amzn" ]] && [[ $VERSION = "2022" ]]; then
|
||||
elif [[ $ID = "amzn" ]] && [[ $VERSION = "2023" ]]; then
|
||||
dnf install -y \
|
||||
python3 \
|
||||
python3-pip \
|
||||
|
||||
@@ -6,8 +6,8 @@ platforms:
|
||||
image: amazonlinux:2
|
||||
groups:
|
||||
- aws_node_local
|
||||
- name: amazon_linux2022
|
||||
image: amazonlinux:2022
|
||||
- name: amazon_linux2023
|
||||
image: amazonlinux:2023
|
||||
groups:
|
||||
- aws_node_local
|
||||
# - name: ubuntu_lts
|
||||
|
||||
@@ -6,8 +6,8 @@ platforms:
|
||||
image: amazonlinux:2
|
||||
groups:
|
||||
- aws_node_local
|
||||
- name: amazon_linux2022
|
||||
image: amazonlinux:2022
|
||||
- name: amazon_linux2023
|
||||
image: amazonlinux:2023
|
||||
groups:
|
||||
- aws_node_local
|
||||
# - name: ubuntu_lts
|
||||
|
||||
@@ -6,8 +6,8 @@ platforms:
|
||||
image: amazonlinux:2
|
||||
groups:
|
||||
- aws_node_local
|
||||
- name: amazon_linux2022
|
||||
image: amazonlinux:2022
|
||||
- name: amazon_linux2023
|
||||
image: amazonlinux:2023
|
||||
groups:
|
||||
- aws_node_local
|
||||
# - name: ubuntu_lts
|
||||
|
||||
@@ -9,7 +9,7 @@
|
||||
- git
|
||||
- ec2-utils
|
||||
|
||||
# https://github.com/amazonlinux/amazon-linux-2022/issues/164
|
||||
# https://github.com/amazonlinux/amazon-linux-2023/issues/164
|
||||
- name: Ensure group "aoc" exists
|
||||
ansible.builtin.group:
|
||||
name: aoc
|
||||
@@ -8,8 +8,8 @@ platforms:
|
||||
- aws_node_local
|
||||
ulimits:
|
||||
- nofile:262144:262144
|
||||
- name: amazon_linux2022
|
||||
image: amazonlinux:2022
|
||||
- name: amazon_linux2023
|
||||
image: amazonlinux:2023
|
||||
groups:
|
||||
- aws_node_local
|
||||
ulimits:
|
||||
|
||||
@@ -8,8 +8,8 @@ platforms:
|
||||
- aws_node_local
|
||||
ulimits:
|
||||
- nofile:262144:262144
|
||||
- name: amazon_linux2022
|
||||
image: amazonlinux:2022
|
||||
- name: amazon_linux2023
|
||||
image: amazonlinux:2023
|
||||
groups:
|
||||
- aws_node_local
|
||||
ulimits:
|
||||
|
||||
@@ -6,8 +6,8 @@ platforms:
|
||||
image: amazonlinux:2
|
||||
groups:
|
||||
- aws_node_local
|
||||
- name: amazon_linux2022
|
||||
image: amazonlinux:2022
|
||||
- name: amazon_linux2023
|
||||
image: amazonlinux:2023
|
||||
groups:
|
||||
- aws_node_local
|
||||
- name: ubuntu_lts
|
||||
|
||||
@@ -6,8 +6,8 @@ platforms:
|
||||
image: amazonlinux:2
|
||||
groups:
|
||||
- aws_node_local
|
||||
- name: amazon_linux2022
|
||||
image: amazonlinux:2022
|
||||
- name: amazon_linux2023
|
||||
image: amazonlinux:2023
|
||||
groups:
|
||||
- aws_node_local
|
||||
- name: ubuntu_lts
|
||||
|
||||
@@ -7,8 +7,8 @@ platforms:
|
||||
image: amazonlinux:2
|
||||
groups:
|
||||
- aws_node_local
|
||||
- name: amazon_linux2022
|
||||
image: amazonlinux:2022
|
||||
- name: amazon_linux2023
|
||||
image: amazonlinux:2023
|
||||
groups:
|
||||
- aws_node_local
|
||||
- name: ubuntu_lts
|
||||
|
||||
@@ -6,8 +6,8 @@ platforms:
|
||||
image: amazonlinux:2
|
||||
groups:
|
||||
- aws_node_local
|
||||
- name: amazon_linux2022
|
||||
image: amazonlinux:2022
|
||||
- name: amazon_linux2023
|
||||
image: amazonlinux:2023
|
||||
groups:
|
||||
- aws_node_local
|
||||
- name: ubuntu_lts
|
||||
|
||||
@@ -8,8 +8,8 @@ platforms:
|
||||
- aws_node_local
|
||||
ulimits:
|
||||
- nofile:262144:262144
|
||||
- name: amazon_linux2022
|
||||
image: amazonlinux:2022
|
||||
- name: amazon_linux2023
|
||||
image: amazonlinux:2023
|
||||
groups:
|
||||
- aws_node_local
|
||||
ulimits:
|
||||
|
||||
@@ -8,8 +8,8 @@ platforms:
|
||||
- aws_node_local
|
||||
ulimits:
|
||||
- nofile:262144:262144
|
||||
- name: amazon_linux2022
|
||||
image: amazonlinux:2022
|
||||
- name: amazon_linux2023
|
||||
image: amazonlinux:2023
|
||||
groups:
|
||||
- aws_node_local
|
||||
ulimits:
|
||||
|
||||
@@ -8,8 +8,8 @@ platforms:
|
||||
- aws_node_local
|
||||
ulimits:
|
||||
- nofile:262144:262144
|
||||
- name: amazon_linux2022
|
||||
image: amazonlinux:2022
|
||||
- name: amazon_linux2023
|
||||
image: amazonlinux:2023
|
||||
groups:
|
||||
- aws_node_local
|
||||
ulimits:
|
||||
|
||||
@@ -8,8 +8,8 @@ platforms:
|
||||
- aws_node_local
|
||||
ulimits:
|
||||
- nofile:262144:262144
|
||||
- name: amazon_linux2022
|
||||
image: amazonlinux:2022
|
||||
- name: amazon_linux2023
|
||||
image: amazonlinux:2023
|
||||
groups:
|
||||
- aws_node_local
|
||||
ulimits:
|
||||
|
||||
@@ -8,8 +8,8 @@ platforms:
|
||||
- aws_node_local
|
||||
ulimits:
|
||||
- nofile:262144:262144
|
||||
- name: amazon_linux2022
|
||||
image: amazonlinux:2022
|
||||
- name: amazon_linux2023
|
||||
image: amazonlinux:2023
|
||||
groups:
|
||||
- aws_node_local
|
||||
ulimits:
|
||||
|
||||
@@ -6,8 +6,8 @@ platforms:
|
||||
image: amazonlinux:2
|
||||
groups:
|
||||
- aws_node_local
|
||||
- name: amazon_linux2022
|
||||
image: amazonlinux:2022
|
||||
- name: amazon_linux2023
|
||||
image: amazonlinux:2023
|
||||
groups:
|
||||
- aws_node_local
|
||||
- name: ubuntu_lts
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
---
|
||||
|
||||
- name: Install Amazon-Linux-2022-specific support packages
|
||||
- name: Install Amazon-Linux-2023-specific support packages
|
||||
ansible.builtin.dnf:
|
||||
name:
|
||||
- dejavu-sans-fonts
|
||||
@@ -1,6 +1,6 @@
|
||||
---
|
||||
|
||||
- name: Install Amazon-Linux-2022-specific NFS packages
|
||||
- name: Install Amazon-Linux-2023-specific NFS packages
|
||||
ansible.builtin.dnf:
|
||||
name:
|
||||
- nfs-utils
|
||||
@@ -4,8 +4,8 @@ driver:
|
||||
platforms:
|
||||
- name: amazon_linux2
|
||||
image: amazonlinux:2
|
||||
- name: amazon_linux2022
|
||||
image: amazonlinux:2022
|
||||
- name: amazon_linux2023
|
||||
image: amazonlinux:2023
|
||||
- name: ubuntu_lts
|
||||
image: ubuntu:bionic
|
||||
provisioner:
|
||||
|
||||
@@ -4,8 +4,8 @@ driver:
|
||||
platforms:
|
||||
- name: amazon_linux2
|
||||
image: amazonlinux:2
|
||||
- name: amazon_linux2022
|
||||
image: amazonlinux:2022
|
||||
- name: amazon_linux2023
|
||||
image: amazonlinux:2023
|
||||
- name: ubuntu_lts
|
||||
image: ubuntu:bionic
|
||||
provisioner:
|
||||
|
||||
@@ -1,9 +1,9 @@
|
||||
---
|
||||
|
||||
- name: Add Adoptium repo and install Eclipse Temurin JDK if necessary on Amazon Linux 2022
|
||||
- name: Add Adoptium repo and install Eclipse Temurin JDK if necessary on Amazon Linux 2023
|
||||
block:
|
||||
|
||||
# There is no amazonlinux/2022 package available from the Adoptium repo; AL2022 docs point to upstream compatiblity
|
||||
# There is no amazonlinux/2023 package available from the Adoptium repo; AL2023 docs point to upstream compatiblity
|
||||
# with Fedora 34, 35, and 36, so we use the latest of those for the Temurin package for now
|
||||
- name: Add Adoptium yum repository
|
||||
ansible.builtin.yum_repository:
|
||||
@@ -31,7 +31,7 @@
|
||||
tags:
|
||||
- runtime_pkg
|
||||
|
||||
- name: Install other base packages on Amazon Linux 2022
|
||||
- name: Install other base packages on Amazon Linux 2023
|
||||
ansible.builtin.dnf:
|
||||
name:
|
||||
- dejavu-fonts-all # Required by the installer
|
||||
@@ -6,8 +6,8 @@ platforms:
|
||||
image: amazonlinux:2
|
||||
groups:
|
||||
- aws_node_local
|
||||
- name: amazon_linux2022
|
||||
image: amazonlinux:2022
|
||||
- name: amazon_linux2023
|
||||
image: amazonlinux:2023
|
||||
groups:
|
||||
- aws_node_local
|
||||
- name: ubuntu_lts
|
||||
|
||||
@@ -6,8 +6,8 @@ platforms:
|
||||
image: amazonlinux:2
|
||||
groups:
|
||||
- aws_node_local
|
||||
- name: amazon_linux2022
|
||||
image: amazonlinux:2022
|
||||
- name: amazon_linux2023
|
||||
image: amazonlinux:2023
|
||||
groups:
|
||||
- aws_node_local
|
||||
- name: ubuntu_lts
|
||||
|
||||
@@ -6,8 +6,8 @@ platforms:
|
||||
image: amazonlinux:2
|
||||
groups:
|
||||
- aws_node_local
|
||||
- name: amazon_linux2022
|
||||
image: amazonlinux:2022
|
||||
- name: amazon_linux2023
|
||||
image: amazonlinux:2023
|
||||
groups:
|
||||
- aws_node_local
|
||||
- name: ubuntu_lts
|
||||
|
||||
@@ -6,8 +6,8 @@ platforms:
|
||||
image: amazonlinux:2
|
||||
groups:
|
||||
- aws_node_local
|
||||
- name: amazon_linux2022
|
||||
image: amazonlinux:2022
|
||||
- name: amazon_linux2023
|
||||
image: amazonlinux:2023
|
||||
groups:
|
||||
- aws_node_local
|
||||
- name: ubuntu_lts
|
||||
|
||||
@@ -6,8 +6,8 @@ platforms:
|
||||
image: amazonlinux:2
|
||||
groups:
|
||||
- aws_node_local
|
||||
- name: amazon_linux2022
|
||||
image: amazonlinux:2022
|
||||
- name: amazon_linux2023
|
||||
image: amazonlinux:2023
|
||||
groups:
|
||||
- aws_node_local
|
||||
- name: ubuntu_lts
|
||||
|
||||
@@ -6,8 +6,8 @@ platforms:
|
||||
image: amazonlinux:2
|
||||
groups:
|
||||
- aws_node_local
|
||||
- name: amazon_linux2022
|
||||
image: amazonlinux:2022
|
||||
- name: amazon_linux2023
|
||||
image: amazonlinux:2023
|
||||
groups:
|
||||
- aws_node_local
|
||||
- name: ubuntu_lts
|
||||
|
||||
@@ -6,8 +6,8 @@ platforms:
|
||||
image: amazonlinux:2
|
||||
groups:
|
||||
- aws_node_local
|
||||
- name: amazon_linux2022
|
||||
image: amazonlinux:2022
|
||||
- name: amazon_linux2023
|
||||
image: amazonlinux:2023
|
||||
groups:
|
||||
- aws_node_local
|
||||
- name: ubuntu_lts
|
||||
|
||||
@@ -6,8 +6,8 @@ platforms:
|
||||
image: amazonlinux:2
|
||||
groups:
|
||||
- aws_node_local
|
||||
- name: amazon_linux2022
|
||||
image: amazonlinux:2022
|
||||
- name: amazon_linux2023
|
||||
image: amazonlinux:2023
|
||||
groups:
|
||||
- aws_node_local
|
||||
- name: ubuntu_lts
|
||||
|
||||
@@ -6,8 +6,8 @@ platforms:
|
||||
image: amazonlinux:2
|
||||
groups:
|
||||
- aws_node_local
|
||||
- name: amazon_linux2022
|
||||
image: amazonlinux:2022
|
||||
- name: amazon_linux2023
|
||||
image: amazonlinux:2023
|
||||
groups:
|
||||
- aws_node_local
|
||||
- name: ubuntu_lts
|
||||
|
||||
@@ -6,8 +6,8 @@ platforms:
|
||||
image: amazonlinux:2
|
||||
groups:
|
||||
- aws_node_local
|
||||
- name: amazon_linux2022
|
||||
image: amazonlinux:2022
|
||||
- name: amazon_linux2023
|
||||
image: amazonlinux:2023
|
||||
groups:
|
||||
- aws_node_local
|
||||
- name: ubuntu_lts
|
||||
|
||||
@@ -6,8 +6,8 @@ platforms:
|
||||
image: amazonlinux:2
|
||||
groups:
|
||||
- aws_node_local
|
||||
- name: amazon_linux2022
|
||||
image: amazonlinux:2022
|
||||
- name: amazon_linux2023
|
||||
image: amazonlinux:2023
|
||||
groups:
|
||||
- aws_node_local
|
||||
- name: ubuntu_lts
|
||||
|
||||
@@ -6,8 +6,8 @@ platforms:
|
||||
image: amazonlinux:2
|
||||
groups:
|
||||
- aws_node_local
|
||||
- name: amazon_linux2022
|
||||
image: amazonlinux:2022
|
||||
- name: amazon_linux2023
|
||||
image: amazonlinux:2023
|
||||
groups:
|
||||
- aws_node_local
|
||||
- name: ubuntu_lts
|
||||
|
||||
@@ -6,8 +6,8 @@ platforms:
|
||||
image: amazonlinux:2
|
||||
groups:
|
||||
- aws_node_local
|
||||
- name: amazon_linux2022
|
||||
image: amazonlinux:2022
|
||||
- name: amazon_linux2023
|
||||
image: amazonlinux:2023
|
||||
groups:
|
||||
- aws_node_local
|
||||
- name: ubuntu_lts
|
||||
|
||||
@@ -6,8 +6,8 @@ platforms:
|
||||
image: amazonlinux:2
|
||||
groups:
|
||||
- aws_node_local
|
||||
- name: amazon_linux2022
|
||||
image: amazonlinux:2022
|
||||
- name: amazon_linux2023
|
||||
image: amazonlinux:2023
|
||||
groups:
|
||||
- aws_node_local
|
||||
- name: ubuntu_lts
|
||||
|
||||
@@ -6,8 +6,8 @@ platforms:
|
||||
image: amazonlinux:2
|
||||
groups:
|
||||
- aws_node_local
|
||||
- name: amazon_linux2022
|
||||
image: amazonlinux:2022
|
||||
- name: amazon_linux2023
|
||||
image: amazonlinux:2023
|
||||
groups:
|
||||
- aws_node_local
|
||||
- name: ubuntu_lts
|
||||
|
||||
@@ -6,8 +6,8 @@ platforms:
|
||||
image: amazonlinux:2
|
||||
groups:
|
||||
- aws_node_local
|
||||
- name: amazon_linux2022
|
||||
image: amazonlinux:2022
|
||||
- name: amazon_linux2023
|
||||
image: amazonlinux:2023
|
||||
groups:
|
||||
- aws_node_local
|
||||
- name: ubuntu_lts
|
||||
|
||||
@@ -6,8 +6,8 @@ platforms:
|
||||
image: amazonlinux:2
|
||||
groups:
|
||||
- aws_node_local
|
||||
- name: amazon_linux2022
|
||||
image: amazonlinux:2022
|
||||
- name: amazon_linux2023
|
||||
image: amazonlinux:2023
|
||||
groups:
|
||||
- aws_node_local
|
||||
- name: ubuntu_lts
|
||||
|
||||
@@ -8,8 +8,8 @@ platforms:
|
||||
- aws_node_local
|
||||
ulimits:
|
||||
- nofile:262144:262144
|
||||
- name: amazon_linux2022
|
||||
image: amazonlinux:2022
|
||||
- name: amazon_linux2023
|
||||
image: amazonlinux:2023
|
||||
groups:
|
||||
- aws_node_local
|
||||
ulimits:
|
||||
|
||||
@@ -8,8 +8,8 @@ platforms:
|
||||
- aws_node_local
|
||||
ulimits:
|
||||
- nofile:262144:262144
|
||||
- name: amazon_linux2022
|
||||
image: amazonlinux:2022
|
||||
- name: amazon_linux2023
|
||||
image: amazonlinux:2023
|
||||
groups:
|
||||
- aws_node_local
|
||||
ulimits:
|
||||
|
||||
@@ -8,8 +8,8 @@ platforms:
|
||||
- aws_node_local
|
||||
ulimits:
|
||||
- nofile:262144:262144
|
||||
- name: amazon_linux2022
|
||||
image: amazonlinux:2022
|
||||
- name: amazon_linux2023
|
||||
image: amazonlinux:2023
|
||||
groups:
|
||||
- aws_node_local
|
||||
ulimits:
|
||||
|
||||
@@ -8,8 +8,8 @@ platforms:
|
||||
- aws_node_local
|
||||
ulimits:
|
||||
- nofile:262144:262144
|
||||
- name: amazon_linux2022
|
||||
image: amazonlinux:2022
|
||||
- name: amazon_linux2023
|
||||
image: amazonlinux:2023
|
||||
groups:
|
||||
- aws_node_local
|
||||
ulimits:
|
||||
|
||||
Reference in New Issue
Block a user