Permalink
Fetching contributors…
Cannot retrieve contributors at this time
24 lines (21 sloc) 775 Bytes
---
- 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.
http://tripleo.org/environments/environments.html#id5
groups:
- prep
- pre-introspection
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}
a_mounts: "{{hostvars[inventory_hostname].ansible_facts.mounts}}"
tasks:
- include_tasks: tasks/disk_space.yaml