Skip to content

Commit 52265b1

Browse files
authored
Merge pull request #133 from cisagov/improvement/use-amazon-linux-2022
Drop Amazon Linux 2 in favor of Amazon Linux 2023
2 parents e112e3b + 163cb3d commit 52265b1

File tree

4 files changed

+9
-6
lines changed

4 files changed

+9
-6
lines changed

meta/main.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ galaxy_info:
1515
min_ansible_version: "2.10"
1616
namespace: cisagov
1717
platforms:
18-
- name: Amazon Linux 2
18+
- name: Amazon Linux 2023
1919
versions:
2020
- any
2121
- name: Debian

molecule/default/molecule-no-systemd.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,8 @@ lint: |
1616
ansible-lint
1717
flake8
1818
platforms:
19-
- image: amazonlinux:2
20-
name: amazonlinux2
19+
- image: amazonlinux:2023
20+
name: amazonlinux2023
2121
platform: amd64
2222
- image: debian:buster-slim
2323
name: debian10

molecule/default/molecule-with-systemd.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,8 @@ lint: |
1717
platforms:
1818
- cgroupns_mode: host
1919
command: /lib/systemd/systemd
20-
image: geerlingguy/docker-amazonlinux2-ansible:latest
21-
name: amazonlinux2-systemd
20+
image: geerlingguy/docker-amazonlinux2023-ansible:latest
21+
name: amazonlinux2023-systemd
2222
platform: amd64
2323
pre_build_image: yes
2424
privileged: yes

requirements-test.txt

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,10 @@
44
# OS family. This simplifies a lot of things for roles that support
55
# Kali Linux, so it makes sense to force the installation of Ansible
66
# 2.10 or newer.
7-
ansible>=2.10,<6
7+
#
8+
# We need at least version 6 to correctly identify Amazon Linux 2023
9+
# as using the dnf package manager.
10+
ansible>=6,<7
811
ansible-lint>=5,<6
912
flake8
1013
molecule

0 commit comments

Comments
 (0)