Skip to content

Commit 8cbe89d

Browse files
committed
sap_swpm: Only ensure the presence of the 'file' package on SLES*
Fixes sap-linuxlab#1146. Signed-off-by: Bernd Finger <bfinger@redhat.com>
1 parent bb6313f commit 8cbe89d

2 files changed

Lines changed: 2 additions & 0 deletions

File tree

roles/sap_swpm/tasks/pre_install/software/sapcar.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,7 @@
7777
ansible.builtin.package:
7878
name: file
7979
state: present
80+
when: ansible_facts['os_family'] == 'Suse'
8081

8182
# In the first step, we execute the file command for each of the SAPCAR files. It displays the
8283
# hardware architecture in the second output field, using a string which is different from the output

roles/sap_swpm/tasks/pre_install/software/swpm.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,7 @@
7777
ansible.builtin.package:
7878
name: file
7979
state: present
80+
when: ansible_facts['os_family'] == 'Suse'
8081

8182
- name: SAP SWPM Pre Install - SWPM auto-detection - Create temporary directory
8283
ansible.builtin.tempfile:

0 commit comments

Comments
 (0)