tcib_actions:
- run: bash /usr/local/bin/uid_gid_manage {{ tcib_user }}
- run: dnf -y install {{ tcib_packages.common | join(' ') }} && dnf clean all && rm -rf /var/cache/dnf
- run: >-
    if [ '{{ tcib_distro }}' == 'centos' ] && [ '{{ tcib_release }}' == '9' ]; then
    dnf -y downgrade pacemaker pacemaker-remote resource-agents; fi
- run: mkdir /etc/libqb
- run: ln -s /usr/share/openstack-tripleo-common/healthcheck/redis /openstack/healthcheck && chmod a+rx /openstack/healthcheck
tcib_packages:
  common:
  - libqb
  - pacemaker
  - pacemaker-remote
  - pcs
  - procps-ng
  - redis
  - resource-agents
  - stunnel
tcib_user: redis

tcib_actions:
- run: bash /usr/local/bin/uid_gid_manage {{ tcib_user }}
- run: dnf -y install {{ tcib_packages.common | join(' ') }} && dnf clean all && rm -rf /var/cache/dnf
- run: >-
    if [ '{{ tcib_distro }}' == 'centos' ] && [ '{{ tcib_release }}' == '9' ]; then
    dnf -y downgrade pacemaker-2.1.2-4.el9 pacemaker-remote-1.2-4.el9 resource-agents-4.10.0-17.el9; fi
- run: mkdir /etc/libqb
- run: ln -s /usr/share/openstack-tripleo-common/healthcheck/redis /openstack/healthcheck && chmod a+rx /openstack/healthcheck
tcib_packages:
  common:
  - libqb
  - pacemaker
  - pacemaker-remote
  - pcs
  - procps-ng
  - redis
  - resource-agents
  - stunnel
tcib_user: redis

Downgrade pacemaker, resource-agents - exact ver
Downgrade pacemaker, resource-agents - exact ver

https://review.opendev.org/c/openstack/tripleo-common/+/846287
downgrades pacemaker and resource-agents but does
not specify the version. So the problem resurfaced when
these rpms upgraded yet again.

This patch specifies the downgrade version.

Change-Id: If221c0c4cfe4b7a08568916400f4b50a72ab9e21
Related-Bug: #1978997
