Merge "[ffwd3] Idempotency fix for pacemaker and leapp" into stable/wallaby

This commit is contained in:
Zuul 2023-08-24 13:31:12 +00:00 committed by Gerrit Code Review
commit 576dcc589b

@ -223,6 +223,25 @@ outputs:
pacemaker_cluster: state=offline
when: pcs_stat.stat.exists
- name: system_upgrade_prepare step 5
tags:
- never
- system_upgrade
- system_upgrade_prepare
when:
- step|int == 5
block:
- name: Check if pcs is present
stat:
path: /usr/sbin/pcs
register: pcs_stat
- name: Start pacemaker cluster after reboot
# NOTE: We are intentionally not using the community version of
# pacemaker_cluster here due to variances between the two:
# https://bugs.launchpad.net/tripleo/+bug/1938967
pacemaker_cluster: state=online
when: pcs_stat.stat.exists
update_tasks:
- name: Force pre-fetch of container images
when: