Add new metadata keys to the validation playbooks

This patch adds two new metadata keys to the validation playbooks:
- categories: A list of technical tags
- products: A list of targeted products (here mainly common)

This patch is also part of the Validation Metadata Evolution for the
Validations Framework.

Change-Id: Ie6b3a42a09292eadd4233b180132140052d89f09
Signed-off-by: Gael Chamoulaud (Strider) <gchamoul@redhat.com>
This commit is contained in:
Gael Chamoulaud (Strider) 2021-09-14 11:13:32 +02:00 committed by Gael Chamoulaud
parent c33d395811
commit e68c7f36d6
13 changed files with 79 additions and 0 deletions

View File

@ -9,5 +9,11 @@
groups:
- prep
- pre-deployment
categories:
- storage
- disk
- system
products:
- common
roles:
- advanced_format_512e_support

View File

@ -10,6 +10,13 @@
- prep
- backup-and-restore
- pre-introspection
categories:
- system
- cpu
- core
- os
products:
- common
minimal_cpu_count: 8
roles:
- check_cpu

View File

@ -8,6 +8,12 @@
free space before starting an upgrade
groups:
- pre-upgrade
categories:
- system
- disk
- upgrade
products:
- common
volumes:
- {mount: /var/lib/docker, min_size: 10}
- {mount: /var/lib/config-data, min_size: 3}

View File

@ -10,6 +10,12 @@
groups:
- prep
- pre-introspection
categories:
- system
- disk
- upgrade
products:
- common
volumes:
- {mount: /var/lib/docker, min_size: 10}
- {mount: /var/lib/config-data, min_size: 3}

View File

@ -9,5 +9,11 @@
with ftype=0 in any deployed node.
groups:
- pre-upgrade
categories:
- storage
- xfs
- disk
products:
- common
roles:
- xfs_check_ftype

View File

@ -9,5 +9,11 @@
before starting an upgrade.
groups:
- pre-upgrade
categories:
- packages
- rpm
- upgrade
products:
- common
roles:
- check_latest_packages_version

View File

@ -10,6 +10,13 @@
- prep
- pre-introspection
- pre-upgrade
categories:
- system
- ram
- memory
- os
products:
- common
minimal_ram_gb: 24
roles:
- check_ram

View File

@ -9,5 +9,10 @@
groups:
- prep
- pre-introspection
categories:
- security
- selinux
products:
- common
roles:
- check_selinux_mode

View File

@ -8,6 +8,11 @@
Verify that the DNS resolution works
groups:
- pre-deployment
categories:
- networking
- dns
products:
- common
server_to_lookup: example.com
roles:
- dns

View File

@ -9,5 +9,11 @@
the validations framework works.
groups:
- no-op
categories:
- noop
- dummy
- test
products:
- common
roles:
- no_op

View File

@ -11,5 +11,11 @@
that it is indeed running and connected to an NTP server on all nodes.
groups:
- post-deployment
categories:
- networking
- time
- os
products:
- common
roles:
- ntp

View File

@ -14,5 +14,12 @@
- pre-upgrade
- post-deployment
- post-upgrade
categories:
- systemd
- container
- docker
- podman
products:
- common
roles:
- service_status

View File

@ -12,6 +12,12 @@
- post-deployment
- pre-upgrade
- post-upgrade
categories:
- security
- selinux
- audit
products:
- common
validate_selinux_working_dir: /tmp
validate_selinux_audit_source: /var/log/audit/audit.log
validate_selinux_skip_list_dest: "{{ validate_selinux_working_dir }}/denials-skip-list.txt"