aboutsummaryrefslogtreecommitdiffstats
path: root/qtip/ansible_library
diff options
context:
space:
mode:
authorYujun Zhang <zhang.yujunz@zte.com.cn>2017-04-18 16:09:02 +0800
committerYujun Zhang <zhang.yujunz@zte.com.cn>2017-04-18 16:09:02 +0800
commitd6ca8195f0fd174709ef22aa5cc6c0386903c50e (patch)
treee5c60b50d63b86a80c80ae289f9944160152efbf /qtip/ansible_library
parent89d17c7f841e97f1e8433109678c63f3b193c0b9 (diff)
Fix hardcode dump file
Change-Id: Icef12e41b5bf64987a0991a9328ee8d6f1d3b161 Signed-off-by: Yujun Zhang <zhang.yujunz@zte.com.cn>
Diffstat (limited to 'qtip/ansible_library')
-rw-r--r--qtip/ansible_library/plugins/action/collect.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/qtip/ansible_library/plugins/action/collect.py b/qtip/ansible_library/plugins/action/collect.py
index 26e813b8..8c825317 100644
--- a/qtip/ansible_library/plugins/action/collect.py
+++ b/qtip/ansible_library/plugins/action/collect.py
@@ -29,7 +29,7 @@ class ActionModule(ActionBase):
dump = self._task.args.get('dump')
if dump is not None:
- dump_facts(task_vars['inventory_hostname'], [{'name': 'inxi.log', 'content': string}])
+ dump_facts(task_vars['inventory_hostname'], [{'name': dump, 'content': string}])
return collect(patterns, string)