Skip to content

Commit 14137cc

Browse files
committed
Add patterns-cockpit as new requirements for saptune 3.2.3
Saptune 3.2.3 introduced a mandatory check for 'patterns-cockpit'. Since this package is missing from standard cloud images, 'saptune solution verify' fails during deployment. This change adds a task to gather package facts and install 'patterns-cockpit' when saptune version >= 3.2.3 and pacemaker is present, ensuring successful HANA solution verification.
1 parent afbac7a commit 14137cc

1 file changed

Lines changed: 12 additions & 0 deletions

File tree

ansible/playbooks/tasks/saptune.yaml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,18 @@
1111
retries: 3
1212
delay: 60
1313

14+
- name: Gather package facts
15+
ansible.builtin.package_facts:
16+
manager: auto
17+
18+
- name: Install sapconf dependency
19+
community.general.zypper:
20+
name: 'patterns-cockpit'
21+
state: present
22+
when:
23+
- "'pacemaker' in ansible_facts.packages"
24+
- ansible_facts.packages['saptune'][0].version is version('3.2.3', '>=')
25+
1426
- name: Ensure conflicting services are stopped and disabled
1527
ansible.builtin.systemd:
1628
name: "{{ item }}"

0 commit comments

Comments
 (0)