switched to nuclear fusion
This commit is contained in:
parent
f776756205
commit
3347fa7c25
3
nuke.yml
3
nuke.yml
|
@ -1,7 +1,9 @@
|
||||||
---
|
---
|
||||||
- hosts: all
|
- hosts: all
|
||||||
|
become: True
|
||||||
name: Dummy to gather facts
|
name: Dummy to gather facts
|
||||||
tasks:
|
tasks:
|
||||||
|
- shell: "systemctl stop docker"
|
||||||
- name: Stop docker service
|
- name: Stop docker service
|
||||||
systemd:
|
systemd:
|
||||||
name: docker
|
name: docker
|
||||||
|
@ -10,6 +12,7 @@
|
||||||
shell: "rm -rf /srv"
|
shell: "rm -rf /srv"
|
||||||
|
|
||||||
- hosts: cinder-storage
|
- hosts: cinder-storage
|
||||||
|
become: True
|
||||||
tasks:
|
tasks:
|
||||||
- name: wipe cinder storage.
|
- name: wipe cinder storage.
|
||||||
shell: "dd if=/dev/zero of={{ storage_volume }} bs=1M count=1 && sync"
|
shell: "dd if=/dev/zero of={{ storage_volume }} bs=1M count=1 && sync"
|
||||||
|
|
Loading…
Reference in New Issue