diff options
author | 2017-11-01 17:08:31 +0100 | |
---|---|---|
committer | 2017-11-13 13:29:36 +0000 | |
commit | af701f29f9b1bd0d19dc356d0071dce18f21cdf9 (patch) | |
tree | 6ca429a1f0059e82ab4309c109831642d21aede9 /environments/major-upgrade-composable-steps-docker.yaml | |
parent | 994922a8ba996fe68d047df0e1486fa805dbea31 (diff) |
Update ansible before the ansible upgrade tasks
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
(cherry picked from commit 0c1ac1d752aaf88832b34e165f7d147e2304ff1c)
Diffstat (limited to 'environments/major-upgrade-composable-steps-docker.yaml')
-rw-r--r-- | environments/major-upgrade-composable-steps-docker.yaml | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/environments/major-upgrade-composable-steps-docker.yaml b/environments/major-upgrade-composable-steps-docker.yaml index 1f45d025..f854ee84 100644 --- a/environments/major-upgrade-composable-steps-docker.yaml +++ b/environments/major-upgrade-composable-steps-docker.yaml @@ -8,6 +8,7 @@ parameter_defaults: #!/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
\ No newline at end of file + UpgradeRemoveUnusedPackages: false |