summaryrefslogtreecommitdiffstats
path: root/deploy/adapters/ansible/roles/storage/tasks/real.yml
blob: fd3351c0cd8d29d133c9a851c232ba99d2af6762 (plain)
1
2
3
4
5
6
7
8
---
- name: destroy GPT lable
  shell: dd if=/dev/urandom of={{ physical_device }} bs=4M count=1
  ignore_errors: True

- name: create physical and group volumes
  lvg: vg=storage-volumes pvs={{ physical_device }}
       vg_options=--force