Commit f0c390d
authored
ansible: drop Amazon Linux 2 / RedHat support after Ubuntu migration (#224)
The AWS bare-metal runner fleet has been migrated from Amazon Linux 2
(RedHat family) to Ubuntu 24.04, and AL2 is decommissioned. Every host is
now Debian family (Ubuntu EC2 and s390x LinuxONE both use the apt path), so
the RedHat/Amazon-conditional code is unreachable. Remove it and collapse
the now single-OS base role.
- base: delete the RedHat task/vars files and the ansible_os_family include
dispatch; fold the package list (incl. docker.io) into defaults and inline
the Debian tasks into tasks/main.yml.
- runner: drop the "Install docker pip on Amazon Linux" task and the
tautological `ansible_os_family == 'Debian'` guard; simplify the EC2
instance-id block to `ansible_system_vendor == 'Amazon EC2'`.
- docs: base README is now Debian-only; ansible README install uses apt.
amazon.aws (ec2_metadata_facts) and community.docker (docker_login) are
still required and kept. The qemu-user-static role is left unchanged: it
remains live on the s390x hosts (registers binfmt_misc handlers).
Signed-off-by: Ihor Solodrai <ihor.solodrai@linux.dev>1 parent ad11ee3 commit f0c390d
9 files changed
Lines changed: 89 additions & 132 deletions
File tree
- ansible
- roles
- base
- defaults
- tasks
- vars
- runner/tasks
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
4 | | - | |
| 4 | + | |
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
5 | | - | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
6 | 8 | | |
7 | | - | |
| 9 | + | |
8 | 10 | | |
9 | | - | |
10 | | - | |
11 | | - | |
| 11 | + | |
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | | - | |
| 2 | + | |
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
| 8 | + | |
8 | 9 | | |
9 | 10 | | |
10 | 11 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | | - | |
3 | | - | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
4 | 14 | | |
5 | | - | |
6 | | - | |
7 | | - | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
8 | 21 | | |
9 | | - | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
4 | | - | |
5 | | - | |
6 | | - | |
7 | | - | |
8 | | - | |
9 | | - | |
10 | | - | |
11 | | - | |
12 | | - | |
13 | | - | |
14 | | - | |
15 | | - | |
| 3 | + | |
| 4 | + | |
16 | 5 | | |
17 | 6 | | |
18 | 7 | | |
| |||
23 | 12 | | |
24 | 13 | | |
25 | 14 | | |
26 | | - | |
27 | 15 | | |
28 | 16 | | |
29 | 17 | | |
| |||
80 | 68 | | |
81 | 69 | | |
82 | 70 | | |
83 | | - | |
84 | | - | |
85 | | - | |
86 | | - | |
87 | | - | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
88 | 76 | | |
89 | 77 | | |
90 | 78 | | |
| |||
93 | 81 | | |
94 | 82 | | |
95 | 83 | | |
96 | | - | |
| 84 | + | |
97 | 85 | | |
98 | 86 | | |
99 | 87 | | |
| |||
0 commit comments