diff options
author | Yujun Zhang <zhang.yujunz@zte.com.cn> | 2017-04-18 16:09:02 +0800 |
---|---|---|
committer | Yujun Zhang <zhang.yujunz@zte.com.cn> | 2017-04-18 16:09:02 +0800 |
commit | d6ca8195f0fd174709ef22aa5cc6c0386903c50e (patch) | |
tree | e5c60b50d63b86a80c80ae289f9944160152efbf | |
parent | 89d17c7f841e97f1e8433109678c63f3b193c0b9 (diff) |
Fix hardcode dump file
Change-Id: Icef12e41b5bf64987a0991a9328ee8d6f1d3b161
Signed-off-by: Yujun Zhang <zhang.yujunz@zte.com.cn>
-rw-r--r-- | qtip/ansible_library/plugins/action/collect.py | 2 |
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) |