Skip to content

Commit 1754e2c

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 1754e2c

1 file changed

Lines changed: 8 additions & 0 deletions

File tree

ansible/playbooks/tasks/saptune.yaml

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

14+
- name: Install sapconf dependency
15+
community.general.zypper:
16+
name: 'patterns-cockpit'
17+
state: present
18+
when:
19+
- "'saptune' in ansible_facts.packages"
20+
- ansible_facts.packages['saptune'][0].version is version('3.2.3', '>=')
21+
1422
- name: Ensure conflicting services are stopped and disabled
1523
ansible.builtin.systemd:
1624
name: "{{ item }}"

0 commit comments

Comments
 (0)