Ensure ansible-pacemaker installation for updates/upgrades.

The ansible-pacemaker module is needed in
the undercloud to run some of the updates/upgrades
tasks. It's generaly installed during 'undercloud
upgrade' step, but as in CI we're using a mixed
version deployment the 'undercloud upgrade' step
is being skipped.

Change-Id: I0c8a36a06bc0f078031fafbafbbdee923a459339
Closes-Bug: #1758880
This commit is contained in:
Jose Luis Franco Arza
2018-03-26 13:11:28 +02:00
parent d9ddbdab18
commit e2fbfae3ed
2 changed files with 12 additions and 0 deletions

View File

@@ -36,6 +36,12 @@
when: upgrade_workarounds
tags: overcloud_upgrade_prepare
- name: Ensure ansible-pacemaker module is present in CI.
yum: name=ansible-pacemaker state=latest
when: tripleo_ci|default(false)|bool
tags: overcloud_upgrade_run
become: true
- name: apply pre overcloud upgrade workarounds
command: "{{working_dir}}/pre_overcloud_upgrade_workarounds.sh"
when: upgrade_workarounds