commit a6813adb567baea57146e90493cbf16c648692a8
Author: Harald Jensås <email address hidden>
Date: Wed Feb 2 23:22:01 2022 +0100
tuned - check packages before install
When repository files are present, but the ctlplane is not on a
routed network. (I.e the node cannot connect to repositories.)
The ansible built in `package` will fail despite the fact that
the packages is already installed.
This change adds a task to check that the packages required are
installed using `rpm --query --whatprovides <PGK_LIST>`. Pacage
installation task is skipped if package already installed.
Reviewed: https:/ /review. opendev. org/c/openstack /tripleo- ansible/ +/829162 /opendev. org/openstack/ tripleo- ansible/ commit/ a6813adb567baea 57146e90493cbf1 6c648692a8
Committed: https:/
Submitter: "Zuul (22348)"
Branch: stable/wallaby
commit a6813adb567baea 57146e90493cbf1 6c648692a8
Author: Harald Jensås <email address hidden>
Date: Wed Feb 2 23:22:01 2022 +0100
tuned - check packages before install
When repository files are present, but the ctlplane is not on a
routed network. (I.e the node cannot connect to repositories.)
The ansible built in `package` will fail despite the fact that
the packages is already installed.
This change adds a task to check that the packages required are
installed using `rpm --query --whatprovides <PGK_LIST>`. Pacage
installation task is skipped if package already installed.
Related: RHBZ#2048134 a261bc34a813bdd fb29f63c1e1 70455b79e4bd499 1b513b8017)
Related-Bug: #1959731
Change-Id: Ifcbde65af99039
(cherry picked from commit 5c09c0ee0292be3