Skip to content
This repository has been archived by the owner on Feb 29, 2024. It is now read-only.

Commit

Permalink
Merge "[ffwd3] Idempotency fix for pacemaker and leapp" into stable/w…
Browse files Browse the repository at this point in the history
…allaby
  • Loading branch information
Zuul authored and openstack-gerrit committed Aug 24, 2023
2 parents d17a573 + a4185f8 commit 576dcc5
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions deployment/podman/podman-baremetal-ansible.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 576dcc5

Please sign in to comment.