From e63eb0c2a13fe4dc9bb969d464c90da81a6cf201 Mon Sep 17 00:00:00 2001 From: Chris Santiago Date: Tue, 22 Aug 2023 17:57:27 -0500 Subject: [PATCH] changed setup repo to support arm and x86_64 --- roles/setup_server/tasks/main.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/roles/setup_server/tasks/main.yaml b/roles/setup_server/tasks/main.yaml index 88129f87..56e0a431 100644 --- a/roles/setup_server/tasks/main.yaml +++ b/roles/setup_server/tasks/main.yaml @@ -26,8 +26,8 @@ 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} + - {name: "rhel-{{ ansible_distribution_major_version }}-for-{{ ansible_architecture }}-appstream-rpms", state: enabled} + - {name: "rhel-{{ ansible_distribution_major_version }}-for-{{ ansible_architecture }}-baseos-rpms", state: enabled} ansible.builtin.include_role: name: fedora.linux_system_roles.rhc when: