summaryrefslogtreecommitdiff
path: root/roles/attach-loop-device/tasks/main.yml
diff options
context:
space:
mode:
Diffstat (limited to 'roles/attach-loop-device/tasks/main.yml')
-rw-r--r--roles/attach-loop-device/tasks/main.yml12
1 files changed, 0 insertions, 12 deletions
diff --git a/roles/attach-loop-device/tasks/main.yml b/roles/attach-loop-device/tasks/main.yml
deleted file mode 100644
index 8815910..0000000
--- a/roles/attach-loop-device/tasks/main.yml
+++ /dev/null
@@ -1,12 +0,0 @@
-- name: Find the first unused loop device.
- become: true
- shell: losetup -f
- register: result
-
-- name: Set up a loop device.
- become: true
- command: "losetup {{ result.stdout }} {{ vyos_raw_img }}"
-
-- name: Set vyos_target_drive.
- set_fact:
- vyos_target_drive: "{{ result.stdout }}"