Skip to content

Commit

Permalink
Extend fence-agents-azure-arm installation to all SPs
Browse files Browse the repository at this point in the history
  • Loading branch information
mpagot committed Aug 6, 2024
1 parent 21c160a commit 442bd4f
Showing 1 changed file with 8 additions and 5 deletions.
13 changes: 8 additions & 5 deletions ansible/playbooks/tasks/azure-cluster-bootstrap.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,18 +14,21 @@
retries: 3
delay: 60

- name: Ensure cluster dependencies for SLES >= 15-SP4 are installed
# Workaround for bsc#1224797 and bsc#1226671
# Refer to
# - 15 >= sp4 : https://www.suse.com/support/kb/doc/?id=000021504
# - 12sp5 : https://www.suse.com/support/update/announcement/2024/suse-ru-20242693-1/
# We should remove this line once the base OS images include the package
- name: Ensure fence-agents dependencies are installed
community.general.zypper:
name: "{{ item }}" # Caution, no version control here (yet)
name: "{{ item }}"
state: present
loop:
- fence-agents-azure-arm # Workaround for bsc#1224797. We should remove this line once the base OS images include the package
- fence-agents-azure-arm
register: result
until: result is succeeded
retries: 3
delay: 60
when:
- ansible_distribution_version is version('15.4', '>=')

- name: Get the status of all extensions
ansible.builtin.command:
Expand Down

0 comments on commit 442bd4f

Please sign in to comment.