Another try to add RHEL 10 to CI. (#1136)

This commit is contained in:
Felix Fontein
2025-10-03 21:16:18 +02:00
committed by GitHub
parent f8ea3fcba3
commit 82b3184605
8 changed files with 79 additions and 6 deletions
@@ -57,7 +57,7 @@
systemd_service:
name: "{{ podman_socket_service }}"
state: started
scope: "{{ 'global' if podman_user_id.stdout == '0' and ansible_facts.os_family == 'RedHat' else 'user' }}"
scope: "{{ 'global' if podman_user_id.stdout == '0' and ansible_facts.os_family == 'RedHat' and (ansible_facts.distribution_major_version | int < 10) else 'user' }}"
environment:
XDG_RUNTIME_DIR: "{{ '/run' if podman_user_id.stdout == '0' else ('/run/user/' ~ podman_user_id.stdout) }}"