commit 5c09c0ee0292be370455b79e4bd4991b513b8017
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/ +/827567 /opendev. org/openstack/ tripleo- ansible/ commit/ 5c09c0ee0292be3 70455b79e4bd499 1b513b8017
Committed: https:/
Submitter: "Zuul (22348)"
Branch: master
commit 5c09c0ee0292be3 70455b79e4bd499 1b513b8017
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
Related-Bug: #1959731
Change-Id: Ifcbde65af99039