aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorYujun Zhang <zhang.yujunz@zte.com.cn>2017-04-19 03:24:47 +0000
committerGerrit Code Review <gerrit@opnfv.org>2017-04-19 03:24:47 +0000
commit50187dfd2c619b25a907a1ad1f66a16021c32bba (patch)
treefab62ab2c9a4b29498e64e27673f4a7e24e0450e
parent7bb2daf779173dca9409cf5d1c87aea4fb58d776 (diff)
parentd6ca8195f0fd174709ef22aa5cc6c0386903c50e (diff)
Merge "Fix hardcode dump file"
-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)