tripleo-ansible/tripleo_ansible/roles/tuned
Harald Jensås a6813adb56 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
Related-Bug: #1959731
Change-Id: Ifcbde65af99039a261bc34a813bddfb29f63c1e1
(cherry picked from commit 5c09c0ee02)
2022-02-15 08:07:28 +01:00
..
defaults Fix typo in skeleton role 2019-10-24 09:01:13 -04:00
meta fix galaxy meta requirements 2021-09-23 14:36:41 +02:00
molecule Convert docker molecule usage to podman 2020-04-30 09:55:18 -05:00
tasks tuned - check packages before install 2022-02-15 08:07:28 +01:00
vars tuned: install cpu-partitioning profile by default 2021-08-31 09:54:29 +00:00