From 3347fa7c250b4d3c02e9b0b6db47896da7028e04 Mon Sep 17 00:00:00 2001 From: Egon Rijpkema Date: Tue, 30 Jan 2018 14:49:39 +0100 Subject: [PATCH] switched to nuclear fusion --- nuke.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/nuke.yml b/nuke.yml index 17bdf66..c01f505 100644 --- a/nuke.yml +++ b/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"