diff options
author | wu.zhihui <wu.zhihui1@zte.com.cn> | 2017-03-08 09:05:55 +0800 |
---|---|---|
committer | wu.zhihui <wu.zhihui1@zte.com.cn> | 2017-03-08 10:54:27 +0800 |
commit | 4bef3e719ab26f4e730eee9334776b640c638a6e (patch) | |
tree | 79da7bb9ea972632e14401916663f685cfd0f226 /qtip/driver/playbook/ramspeed/clean.yaml | |
parent | 46c06ea07e8807ca289e5a9c5f0d7b4655e3e4e3 (diff) |
playbook for ramspeed
These playbooks are successfully executed on Local.
Change-Id: Ie22ecb9b66364e6edf6ae0f59d0524603c4d46a9
Signed-off-by: wu.zhihui <wu.zhihui1@zte.com.cn>
Diffstat (limited to 'qtip/driver/playbook/ramspeed/clean.yaml')
-rw-r--r-- | qtip/driver/playbook/ramspeed/clean.yaml | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/qtip/driver/playbook/ramspeed/clean.yaml b/qtip/driver/playbook/ramspeed/clean.yaml new file mode 100644 index 00000000..f0188159 --- /dev/null +++ b/qtip/driver/playbook/ramspeed/clean.yaml @@ -0,0 +1,23 @@ +############################################################################## +# Copyright (c) 2017 ZTE Corporation and others. +# +# All rights reserved. This program and the accompanying materials +# are made available under the terms of the Apache License, Version 2.0 +# which accompanies this distribution, and is available at +# http://www.apache.org/licenses/LICENSE-2.0 +############################################################################## + +- hosts: hosts + become: yes + remote_user: root + + tasks: + - name: Cleaning ramspeed + file: + path: '{{ ansible_env.HOME }}/ramspeed' + state: absent + + - name: Cleaning qtip_result + file: + path: '{{ ansible_env.HOME }}/qtip_result' + state: absent |