validations-common/validations_common/playbooks/check-disk-space.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

28 lines
683 B
YAML

---
- hosts: localhost
gather_facts: false
vars:
metadata:
name: Verify server fits the disk space requirements
description: >
Make sure that the root partition on the server node has enough
free space.
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}
- {mount: /var/log, min_size: 3}
- {mount: /usr, min_size: 5}
- {mount: /var, min_size: 20}
- {mount: /, min_size: 25}
roles:
- check_disk_space