From e81a0f4edf515c9a4b239823f2d6f279be2e2826 Mon Sep 17 00:00:00 2001 From: ting wu Date: Thu, 12 Apr 2018 12:31:37 +0200 Subject: 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 --- ansible/build_yardstick_image.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'ansible/build_yardstick_image.yml') 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 -- cgit 1.2.3-korg