summaryrefslogtreecommitdiff
path: root/roles/setup-root-partition/tasks/main.yml
diff options
context:
space:
mode:
Diffstat (limited to 'roles/setup-root-partition/tasks/main.yml')
-rw-r--r--roles/setup-root-partition/tasks/main.yml2
1 files changed, 1 insertions, 1 deletions
diff --git a/roles/setup-root-partition/tasks/main.yml b/roles/setup-root-partition/tasks/main.yml
index 308cf10..57ba5ae 100644
--- a/roles/setup-root-partition/tasks/main.yml
+++ b/roles/setup-root-partition/tasks/main.yml
@@ -7,7 +7,7 @@
become: true
shell: "kpartx -av {{ vyos_raw_img }} | awk '{ print $3 }'"
register: loop_partitions
-
+
- name: Find loop device path
become: true
shell: "losetup -l -O NAME,BACK-FILE | awk '{ if (match($2, \"{{ vyos_raw_img }}\")) print $1}'"