validations-common/doc/source/roles/role-check_disk_space.rst
Gael Chamoulaud (Strider) 5823307e67
[check_disk_space] Add role documentation in sphinx
This patch adds the documentation directly in the sphinx role
documentation index. All variables have been commented with a proper
description to be included automatically in the sphinx build.

This patch also disables the fact gathering as this validation doesn't
use them at all.

Change-Id: I6e4b95faadf2e300030d476c75e6283237b43719
Signed-off-by: Gael Chamoulaud (Strider) <gchamoul@redhat.com>
2021-06-29 10:55:08 +02:00

759 B

check_disk_space

About The Role

An Ansible role to check that the partitioning schema on the host(s) has enough free space.

Requirements

No requirements.

Dependencies

No dependencies.

Example Playbook

- hosts: localhost
  gather_facts: false
  vars:
    volumes:
      - { mount: /home, min_size: 25 }
      - { mount: /, min_size: 50 }
  roles:
    - check_disk_space

License

Apache

Author Information

Red Hat TripleO DFG:DF Squad:VF

Full Description