validations-common/validations_common/playbooks/check-disk-space-pre-upgrade.yaml
Gael Chamoulaud (Strider) e68c7f36d6 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>
2021-09-30 10:04:55 +00:00

25 lines
615 B
YAML

---
- hosts: localhost
vars:
metadata:
name: Verify server fits the disk space requirements to perform an upgrade
description: >
Make sure that the root partition on the server node has enough
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}
- {mount: /var, min_size: 16}
- {mount: /, min_size: 20}
roles:
- check_disk_space