tripleo-validations/playbooks/check-rhsm-version.yaml
Gael Chamoulaud (Strider) 39a846ca6b
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 TripleO)

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

Signed-off-by: Gael Chamoulaud (Strider) <gchamoul@redhat.com>
Change-Id: I80c6b0ffb07b6311f13d7a3b83031317cd0d38de
2021-07-22 11:56:48 +02:00

25 lines
655 B
YAML

---
- hosts: all
gather_facts: false
vars:
metadata:
name: Verify that the RSHM version configured is the right one
description: |
This validation checks the RHSM version of the target node via
subscription-manager release --show and makes sure that the
release matches the value set in check_rhsm_version_expected.
groups:
- pre-undercloud-upgrade
- pre-overcloud-upgrade
categories:
- rhel
- os
- system
- subscription_management
products:
- tripleo
- rhsm
check_rhsm_version_debug: false
roles:
- check_rhsm_version