tripleo-validations/playbooks/ceph-health.yaml
Gael Chamoulaud (Strider) 205a4711ef
Use a Literal Block Scalar instead of Folding one for validation
Some validations have a long description and are displayed as it. Which
makes the Validator Show CLI output unreadable.

This patch replaces all the Folding Block Scalar by Literal ones in
order to get a better output.

Change-Id: Iea42706e07ea7bef598bdd26875050a47d95485d
Signed-off-by: Gael Chamoulaud (Strider) <gchamoul@redhat.com>
2020-10-19 07:40:00 +02:00

18 lines
453 B
YAML

---
- hosts: ceph_mon
vars:
metadata:
name: Check the status of the ceph cluster
description: |
Uses `ceph health` to check if cluster is in HEALTH_WARN state
and prints a debug message.
groups:
- post-deployment
- post-ceph
tripleo_delegate_to: "{{ groups['ceph_mon'] | default([]) }}"
osd_percentage_min: 0
tasks:
- include_role:
name: ceph
tasks_from: ceph-health