Skip to content

Commit 197b9f7

Browse files
authored
Merge pull request sap-linuxlab#1166 from berndfinger/issue-1164-only-install-the-file-package-on-Suse
sap_swpm: Only ensure the presence of the 'file' package on Suse
2 parents 0c442fe + 8cbe89d commit 197b9f7

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)