0c1ac1d752
In case an ansible update is available during the upgrade then the ansible package gets updated to a new version by the ansible tasks. This could potentially lead to issues as the one described in LP#1729546. This change updates the ansible package via yum before starting the ansible upgrade tasks in order to avoid having ansible updating itself. Related-bug: 1729546 Change-Id: I2ea0aa1f670053578996018663c9fa52dec14b77
15 lines
437 B
YAML
15 lines
437 B
YAML
resource_registry:
|
|
OS::TripleO::PostDeploySteps: ../common/major_upgrade_steps.yaml
|
|
parameter_defaults:
|
|
EnableConfigPurge: false
|
|
StackUpdateType: UPGRADE
|
|
UpgradeLevelNovaCompute: auto
|
|
UpgradeInitCommonCommand: |
|
|
#!/bin/bash
|
|
set -eu
|
|
# Ocata to Pike, put any needed host-level workarounds here
|
|
yum update -y ansible
|
|
yum install -y ansible-pacemaker
|
|
MigrationSshPort: 22
|
|
UpgradeRemoveUnusedPackages: false
|