switched to nuclear fusion

This commit is contained in:
Egon Rijpkema 2018-01-30 14:49:39 +01:00
parent f776756205
commit 3347fa7c25
1 changed files with 3 additions and 0 deletions

View File

@ -1,7 +1,9 @@
---
- hosts: all
become: True
name: Dummy to gather facts
tasks:
- shell: "systemctl stop docker"
- name: Stop docker service
systemd:
name: docker
@ -10,6 +12,7 @@
shell: "rm -rf /srv"
- hosts: cinder-storage
become: True
tasks:
- name: wipe cinder storage.
shell: "dd if=/dev/zero of={{ storage_volume }} bs=1M count=1 && sync"