aboutsummaryrefslogtreecommitdiffstats
path: root/ansible
diff options
context:
space:
mode:
authorRoss Brattain <ross.b.brattain@intel.com>2018-04-18 20:50:05 +0000
committerGerrit Code Review <gerrit@opnfv.org>2018-04-18 20:50:05 +0000
commit156df0ca22164a7cb7b474230851bc04f688e49f (patch)
treeb549b065a982c090a85b213049b3c0a6fe6814fd /ansible
parent3d4fae588078c559d35b888879a403c09ab80fb2 (diff)
parentdf3fdc4a5d0ca403428490c0c00ba65c087de84c (diff)
Merge "add verbose to debug losetup delete"
Diffstat (limited to 'ansible')
-rw-r--r--ansible/build_yardstick_image.yml2
1 files changed, 1 insertions, 1 deletions
diff --git a/ansible/build_yardstick_image.yml b/ansible/build_yardstick_image.yml
index c926af208..0fc29a9e3 100644
--- a/ansible/build_yardstick_image.yml
+++ b/ansible/build_yardstick_image.yml
@@ -87,7 +87,7 @@
# use this because kpartx -dv will fail if raw_imgfile was delete
# but in theory we could have deleted file still attached to loopback device?
# use grep because of // and awk
- shell: losetup -O NAME,BACK-FILE | grep "{{ raw_imgfile_basename }}" | awk '{ print $1 }' | xargs -l1 losetup -d
+ shell: losetup -O NAME,BACK-FILE | grep "{{ raw_imgfile_basename }}" | awk '{ print $1 }' | xargs -l1 losetup -v -d
ignore_errors: true
- name: delete {{ raw_imgfile }}