From 2eff8b401b5c499414e7fa5f26d7d7989438ef09 Mon Sep 17 00:00:00 2001 From: Christian Pointner Date: Sun, 30 Jul 2023 20:56:01 +0200 Subject: ch-equinox-ws: fix 32bit package support --- chaos-at-home/ch-equinox-ws.yml | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) (limited to 'chaos-at-home/ch-equinox-ws.yml') diff --git a/chaos-at-home/ch-equinox-ws.yml b/chaos-at-home/ch-equinox-ws.yml index 1fccc684..af438ee7 100644 --- a/chaos-at-home/ch-equinox-ws.yml +++ b/chaos-at-home/ch-equinox-ws.yml @@ -8,6 +8,15 @@ - role: core/zsh - role: core/cpu-microcode - role: network/wakeonlan + post_tasks: + - name: get list of foreign architectures from dpkg + command: dpkg --print-foreign-architectures + changed_when: false + register: dpkg_foreign_architectures + check_mode: no + - name: add i386 to dpkg foreign architectures + when: "'i386' not in dpkg_foreign_architectures.stdout_lines" + command: dpkg --add-architecture i386 - name: Payload Setup hosts: ch-equinox-ws @@ -46,12 +55,6 @@ - "bundlewrap>=4.13.6" - "bundlewrap-keepass" - # - name: mask virtualbox web service unit - # systemd: - # name: vboxweb.service - # masked: true - # state: stopped - # - name: install gotify-desktop # become: yes # become_method: su -- cgit v1.2.3