Skip to content

Commit

Permalink
Merge pull request sap-linuxlab#809 from sean-freeman/sles_patch_pkgs
Browse files Browse the repository at this point in the history
sap_*preconfigure: edge case handling for sles pkgs
  • Loading branch information
sean-freeman authored Jul 18, 2024
2 parents 01b6241 + de5520b commit b7001ef
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 0 deletions.
1 change: 1 addition & 0 deletions roles/sap_hana_preconfigure/tasks/SLES/configuration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
name: sapconf
state: stopped
enabled: false
when: "'sapconf' in ansible_facts.packages"

- name: Make sure that sapconf and tuned are stopped and disabled
ansible.builtin.command: "saptune service takeover"
Expand Down
6 changes: 6 additions & 0 deletions roles/sap_hana_preconfigure/tasks/SLES/installation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,12 @@
name: "*"
when: sap_hana_preconfigure_update | bool

# SAP Note 2892338
- name: Ensure package insserv-compat exists
ansible.builtin.package:
state: present
name: insserv-compat

# -----------
- name: Get contents of /etc/products.d/baseproduct
ansible.builtin.stat:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
name: sapconf
state: stopped
enabled: false
when: "'sapconf' in ansible_facts.packages"

- name: Make sure that sapconf and tuned are stopped and disabled
ansible.builtin.command: "saptune service takeover"
Expand Down

0 comments on commit b7001ef

Please sign in to comment.