From: ting wu Date: Thu, 12 Apr 2018 10:31:37 +0000 (+0200) Subject: Bugfix: to list all used loop device X-Git-Tag: opnfv-7.0.0~363^2 X-Git-Url: https://gerrit.opnfv.org/gerrit/gitweb?a=commitdiff_plain;h=e81a0f4edf515c9a4b239823f2d6f279be2e2826;p=yardstick.git Bugfix: to list all used loop device Bug fix in script "build_yardstick_image.yml", to - Use option "-a" to list all used loop devices, to be more compatible. - Ignore the error and continue, if the debug command failed. JIRA: YARDSTICK-1121 Change-Id: I24aaebb2ffe3107ca5c619401725aa8c8e1af295 Signed-off-by: ting wu --- diff --git a/ansible/build_yardstick_image.yml b/ansible/build_yardstick_image.yml index 429ab88aa..c926af208 100644 --- a/ansible/build_yardstick_image.yml +++ b/ansible/build_yardstick_image.yml @@ -75,8 +75,9 @@ ignore_errors: true - name: Debug dump loop devices - command: losetup + command: losetup -a register: losetup_output + ignore_errors: true - debug: var: losetup_output