kayobe/ansible/wipe-disks.yml
Pierre Riteau e855882533 Support configuring LVM on the seed hypervisor
This allows operators to easily provide storage space for the seed VM.

Change-Id: Ibcb1a5b0d34f2456459604e3a0f3303d93810afb
Story: 2004756
Task: 28862
2019-01-11 18:38:34 +00:00

15 lines
445 B
YAML

---
# Warning! This play can result in lost data. Take care when developing and
# using it.
# Initialisation task to be applied on first boot of a system to initalise
# disks. We search for block devices that are not currently mounted, then wipe
# any LVM or file system state from them.
- name: Ensure that all unmounted block devices are wiped
hosts: seed-hypervisor:seed:overcloud
tags:
- wipe-disks
roles:
- role: wipe-disks