5edc9ba866
- The include action was too confusing, dealing with both plays and tasks, being both dynamic and static. This module will be removed in version 2.8. As alternatives use include_tasks, import_playbook, import_tasks. Change-Id: Id0bf75346956a385fc89fcd3b17c70937fe9c4b7 Signed-off-by: Gael Chamoulaud <gchamoul@redhat.com>
20 lines
613 B
YAML
20 lines
613 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 is large
|
|
enough before starting an upgrade
|
|
|
|
We first check for an explicit `/var` mount point since that's
|
|
where we store logs and images and if it doesn't exist, we
|
|
fall back to `/`.
|
|
|
|
http://tripleo.org/environments/environments.html#id5
|
|
groups:
|
|
- pre-upgrade
|
|
min_undercloud_disk_gb: 10
|
|
tasks:
|
|
- include_tasks: tasks/disk_space.yaml
|