redhat-cop / infra.osbuild

Ansible Collection for management of ostree composer
GNU General Public License v3.0
33 stars 37 forks source link

Setup_server does not cater for aarch64 #282

Closed hvanniek closed 1 year ago

hvanniek commented 1 year ago

In roles/setup_server/tasks/main.yaml, the architecture is hardcoded:

    - name: Setup Repositories
      vars:
        rhc_repositories:
          - {name: "*", state: disabled}
          - {name: "rhel-{{ ansible_distribution_major_version }}-for-x86_64-appstream-rpms", state: enabled}
          - {name: "rhel-{{ ansible_distribution_major_version }}-for-x86_64-baseos-rpms", state: enabled}

Replace x86_64 with {{ ansible_architecture }} to fix this.

Still leaves a package rhc-worker-playbook missing in the aarch64 repo though.

resoluteCoder commented 1 year ago

Hello @hvanniek PR #283 was merged to help add the support for the arm arch.

Let me know if you need anything else :smile: