CI: Start using Ubuntu VMs instead of RHEL VMs (#1128)

* Start using Ubuntu VMs instead of RHEL VMs.

* Use correct Python executable.

* Fix starting podman on non-RHEL systems.
This commit is contained in:
Felix Fontein
2025-09-14 23:27:52 +02:00
committed by GitHub
parent 93d165e10b
commit 2b5c06da20
3 changed files with 7 additions and 5 deletions
@@ -57,7 +57,7 @@
systemd_service:
name: "{{ podman_socket_service }}"
state: started
scope: "{{ 'global' if podman_user_id.stdout == '0' else 'user' }}"
scope: "{{ 'global' if podman_user_id.stdout == '0' and ansible_facts.os_family == 'RedHat' else 'user' }}"
environment:
XDG_RUNTIME_DIR: "{{ '/run' if podman_user_id.stdout == '0' else ('/run/user/' ~ podman_user_id.stdout) }}"