aboutsummaryrefslogtreecommitdiffstats
path: root/ansible
diff options
context:
space:
mode:
authorting wu <ting.wu@enea.com>2018-04-12 12:31:37 +0200
committerting wu <ting.wu@enea.com>2018-04-12 10:50:00 +0000
commite81a0f4edf515c9a4b239823f2d6f279be2e2826 (patch)
treea800542579b169fdf3b660461aaa784699b9f8d9 /ansible
parenteca2b80b5916aec6bbd65f8db4ae339904005d8d (diff)
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 <ting.wu@enea.com>
Diffstat (limited to 'ansible')
-rw-r--r--ansible/build_yardstick_image.yml3
1 files changed, 2 insertions, 1 deletions
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