Move setup to build multiarch containers into dedicated role

This change moves the QEMU configuration for multiarch builds into a
dedicated role. Furthermore the execution will always be treated as
unchanged, unless an error occured!
This commit is contained in:
2025-11-28 12:58:45 +01:00
parent 40e146cdfa
commit 730cebfc60
2 changed files with 7 additions and 5 deletions

View File

@@ -0,0 +1,5 @@
- name: Ensure QEMU configuration for multiarch podman builds
become: yes
shell: podman run --rm --privileged docker.io/multiarch/qemu-user-static --reset -p yes
changed_when: False
when: ansible_os_family == 'Debian'