Blob Blame History Raw
diff -up community.sap_install-57211739079e4ef37f51c45c30ea071c0956ad32/roles/sap_general_preconfigure/tasks/RedHat/assert-installation.yml.me community.sap_install-57211739079e4ef37f51c45c30ea071c0956ad32/roles/sap_general_preconfigure/tasks/RedHat/assert-installation.yml
--- community.sap_install-57211739079e4ef37f51c45c30ea071c0956ad32/roles/sap_general_preconfigure/tasks/RedHat/assert-installation.yml.me	2022-05-23 20:03:38.155660382 +0200
+++ community.sap_install-57211739079e4ef37f51c45c30ea071c0956ad32/roles/sap_general_preconfigure/tasks/RedHat/assert-installation.yml	2022-05-23 20:06:38.667894467 +0200
@@ -18,14 +18,26 @@
         __sap_general_preconfigure_req_ha_repos: ''
       when: not sap_general_preconfigure_use_ha_repos
 
-    - name: Assert - Set final list of repos, auto
+    - name: Assert - Set final list of repos, non-s390x, auto
       set_fact:
         __sap_general_preconfigure_req_repos:
           "{{ __sap_general_preconfigure_req_os_repos | list }} +
            {{ __sap_general_preconfigure_req_netweaver_repos | list }} +
            {{ __sap_general_preconfigure_req_hana_repos | list }} +
            {{ __sap_general_preconfigure_req_ha_repos | list }}"
-      when: sap_general_preconfigure_req_repos is undefined
+      when:
+        - sap_general_preconfigure_req_repos is undefined
+        - ansible_architecture != 's390x'
+
+    - name: Assert - Set final list of repos, s390x, auto
+      set_fact:
+        __sap_general_preconfigure_req_repos:
+          "{{ __sap_general_preconfigure_req_os_repos | list }} +
+           {{ __sap_general_preconfigure_req_netweaver_repos | list }} +
+           {{ __sap_general_preconfigure_req_ha_repos | list }}"
+      when:
+        - sap_general_preconfigure_req_repos is undefined
+        - ansible_architecture == 's390x'
 
     - name: Assert - Set final list of repos, manual
       set_fact:
diff -up community.sap_install-57211739079e4ef37f51c45c30ea071c0956ad32/roles/sap_general_preconfigure/tasks/RedHat/installation.yml.me community.sap_install-57211739079e4ef37f51c45c30ea071c0956ad32/roles/sap_general_preconfigure/tasks/RedHat/installation.yml
--- community.sap_install-57211739079e4ef37f51c45c30ea071c0956ad32/roles/sap_general_preconfigure/tasks/RedHat/installation.yml.me	2022-05-23 20:07:10.469897468 +0200
+++ community.sap_install-57211739079e4ef37f51c45c30ea071c0956ad32/roles/sap_general_preconfigure/tasks/RedHat/installation.yml	2022-05-23 20:08:27.072770838 +0200
@@ -18,14 +18,26 @@
         __sap_general_preconfigure_req_ha_repos: ''
       when: not sap_general_preconfigure_use_ha_repos
 
-    - name: Set final list of repos, auto
+    - name: Set final list of repos, non-s390x, auto
       set_fact:
         __sap_general_preconfigure_req_repos:
           "{{ __sap_general_preconfigure_req_os_repos | list }} +
            {{ __sap_general_preconfigure_req_netweaver_repos | list }} +
            {{ __sap_general_preconfigure_req_hana_repos | list }} +
            {{ __sap_general_preconfigure_req_ha_repos | list }}"
-      when: sap_general_preconfigure_req_repos is undefined
+      when:
+        - sap_general_preconfigure_req_repos is undefined
+        - ansible_architecture != 's390x'
+
+    - name: Set final list of repos, s390x, auto
+      set_fact:
+        __sap_general_preconfigure_req_repos:
+          "{{ __sap_general_preconfigure_req_os_repos | list }} +
+           {{ __sap_general_preconfigure_req_netweaver_repos | list }} +
+           {{ __sap_general_preconfigure_req_ha_repos | list }}"
+      when:
+        - sap_general_preconfigure_req_repos is undefined
+        - ansible_architecture == 's390x'
 
     - name: Set final list of repos, manual
       set_fact: