---
- hosts: undercloud
  vars:
    metadata:
      name: Verify undercloud fits the disk space requirements
      description: >
        Make sure that the root partition on the undercloud node is large enough.

        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:
        - prep
        - pre-introspection
    min_undercloud_disk_gb: 60
  tasks:
  - include: tasks/disk_space.yaml
