summaryrefslogtreecommitdiff
path: root/roles/cleanup-ending/tasks/main.yml
diff options
context:
space:
mode:
Diffstat (limited to 'roles/cleanup-ending/tasks/main.yml')
-rw-r--r--roles/cleanup-ending/tasks/main.yml12
1 files changed, 12 insertions, 0 deletions
diff --git a/roles/cleanup-ending/tasks/main.yml b/roles/cleanup-ending/tasks/main.yml
index 3a84b98..1693a68 100644
--- a/roles/cleanup-ending/tasks/main.yml
+++ b/roles/cleanup-ending/tasks/main.yml
@@ -15,3 +15,15 @@
file:
path: "{{ vyos_key_local }}"
state: absent
+
+- name: Delete extracted squashfs path
+ become: true
+ file:
+ path: "{{ vyos_install_root }}"
+ state: absent
+
+- name: Delete temp iso creation path
+ become: true
+ file:
+ path: "/tmp/live-{{ vyos_version }}"
+ state: absent