aboutsummaryrefslogtreecommitdiffstats
path: root/qtip/driver/playbook/top.yaml
diff options
context:
space:
mode:
authorzhihui wu <zhihui.wu2006+zte@gmail.com>2017-03-08 10:13:22 +0000
committerGerrit Code Review <gerrit@opnfv.org>2017-03-08 10:13:22 +0000
commit3ce816d42d510ce60ff775f70ef689b1d1d242b2 (patch)
tree5dfbabbdb138aeb5f5b584f3865b9222cb626b12 /qtip/driver/playbook/top.yaml
parentf7e61750b58d1e684ccd181895374af4feaafa26 (diff)
parenta08224082642cb08c6362235d07e551d268b8b90 (diff)
Merge "Remove hardcode from some playbooks"
Diffstat (limited to 'qtip/driver/playbook/top.yaml')
-rw-r--r--qtip/driver/playbook/top.yaml4
1 files changed, 3 insertions, 1 deletions
diff --git a/qtip/driver/playbook/top.yaml b/qtip/driver/playbook/top.yaml
index 8de7e3d6..64584338 100644
--- a/qtip/driver/playbook/top.yaml
+++ b/qtip/driver/playbook/top.yaml
@@ -7,4 +7,6 @@
# http://www.apache.org/licenses/LICENSE-2.0
##############################################################################
- name: Collect cpu usage
- shell: top -bn1 > $HOME/qtip_result/top.log
+ shell: top -bn1 > top.log
+ args:
+ chdir: '{{ dest_path }}/'