Skip to content

Commit

Permalink
sap_*preconfigure: edge case handling for sles pkgs
Browse files Browse the repository at this point in the history
  • Loading branch information
sean-freeman committed Jul 17, 2024
1 parent c8762a9 commit de5520b
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 de5520b

Please sign in to comment.