ansible: prepare runner provisioning for Ubuntu bare-metal hosts#223
Merged
Conversation
Add support for provisioning Ubuntu 24.04 (Noble) bare-metal AWS hosts as runners, alongside the existing Amazon Linux 2 (RedHat family) and s390x LinuxONE (Debian family) hosts, without changing behavior for either. - base: start (and enable) the docker service on Debian hosts, mirroring the RedHat path. On Ubuntu cloud-init first boot docker.io may not be up yet when qemu-user-static / the runner units need it; idempotent on s390x. - base/runner: make the apt installs resilient to first-boot dpkg-lock contention from apt-daily/unattended-upgrades (lock_timeout + retries). - runner: derive runner names from the EC2 instance ID on all EC2 hosts (system_vendor == "Amazon EC2"), not just Amazon Linux, so Ubuntu EC2 hosts get stable, collision-free names. Non-EC2 hosts (s390x) still skip the metadata lookup; the retained Amazon-distribution clause keeps AL2 behavior identical. - add ansible/requirements.yml (community.docker, amazon.aws) and document it, for the manual operator workflow / ansible-core installs. - fix stale runner_libbpf_ci_repo_branch defaults (master -> main). Signed-off-by: Ihor Solodrai <ihor.solodrai@linux.dev>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Add support for provisioning Ubuntu 24.04 (Noble) bare-metal AWS hosts as runners, alongside the existing Amazon Linux 2 (RedHat family) and s390x LinuxONE (Debian family) hosts, without changing behavior for either.