tripleo-validations/playbooks/undercloud-disk-space-pre-upgrade.yaml
Gael Chamoulaud (Strider) 9b853e6b82
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
(cherry picked from commit 39a846ca6b)
2021-09-24 16:08:03 +02:00

28 lines
735 B
YAML

---
- hosts: undercloud
vars:
metadata:
name: Verify undercloud fits the disk space requirements to perform an upgrade
description: |
Make sure that the root partition on the undercloud node has enough
free space before starting an upgrade
http://tripleo.org/install/environments/baremetal.html#minimum-system-requirements
groups:
- pre-upgrade
categories:
- storage
- disk
- os
- system
products:
- tripleo
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:
- undercloud_disk_space