switched to nuclear fusion
This commit is contained in:
3
nuke.yml
3
nuke.yml
@@ -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"
|
||||
|
Reference in New Issue
Block a user