summaryrefslogtreecommitdiffstats
path: root/molecule/default/cleanup.yml
diff options
context:
space:
mode:
authorAhmed Abdelhalim <[email protected]>2025-08-11 00:33:29 +0200
committerAhmed Abdelhalim <[email protected]>2025-08-11 00:33:29 +0200
commitaeaa724705363ca104ab4770d844e396795af3ea (patch)
tree0a3def24d5abc8dddf279477f8549971f50c90ad /molecule/default/cleanup.yml
parentbc12fd286b5916518ea5ca756b9ea6eac99c63ef (diff)
Add partition role testing
Diffstat (limited to 'molecule/default/cleanup.yml')
-rw-r--r--molecule/default/cleanup.yml9
1 files changed, 9 insertions, 0 deletions
diff --git a/molecule/default/cleanup.yml b/molecule/default/cleanup.yml
new file mode 100644
index 0000000..9540c83
--- /dev/null
+++ b/molecule/default/cleanup.yml
@@ -0,0 +1,9 @@
+---
+- name: Cleanup
+ hosts: localhost
+ tasks:
+ - name: "Remove testing loop device"
+ become: true
+ ansible.builtin.command:
+ cmd: "losetup -D"
+ changed_when: false