tripleo-ansible/tripleo_ansible/roles/tripleo_kernel
David Vallee Delisle dd38e05706 Adding tripleo_kernel_hugepages
Hugepages management was always a manual steps done by operators via the
TripleO parameter KernelArgs. This is error prone and causing confusion.

The new tripleo_kernel_hugepages setting allow operators to define
hugepages as dictionnary, making it easier to read and follow.

To prevent unvolontary changes, there's multiple validations before
applying a change:
- We convert the current running configurations to an actual dictionnary
  that we validate the new format against
- If no change is necessary, even though the format might not be the same,
  there's no kernel_args update.
- By default, we don't remove hugepages in places except when operators
  specifically set the tripleo_kernel_hugepages_remove to true.

This change also includes 4 new molecule scenarios that will help with
consistency.

It is also opening the door to more automations and automatic tuning.

Related: https://bugzilla.redhat.com/show_bug.cgi?id=2043588
Change-Id: I64eb1daad095a989a86b45b98ea10276bd0e0a9a
2022-03-18 07:58:52 -04:00
..
defaults Adding tripleo_kernel_hugepages 2022-03-18 07:58:52 -04:00
meta fix galaxy meta requirements 2021-09-23 14:36:41 +02:00
molecule Adding tripleo_kernel_hugepages 2022-03-18 07:58:52 -04:00
resources/molecule Adding tripleo_kernel_hugepages 2022-03-18 07:58:52 -04:00
tasks Adding tripleo_kernel_hugepages 2022-03-18 07:58:52 -04:00
templates Rename all roles that have a hyphen 2020-01-21 20:42:40 -06:00
vars Do not set lo.disable_ipv6=0 by default 2020-06-03 08:51:09 +02:00