summaryrefslogtreecommitdiffstats
path: root/qtip/driver/playbook/dpi/clean.yaml
diff options
context:
space:
mode:
authorzhihui wu <zhihui.wu2006+zte@gmail.com>2017-03-08 10:13:10 +0000
committerGerrit Code Review <gerrit@opnfv.org>2017-03-08 10:13:10 +0000
commitf7e61750b58d1e684ccd181895374af4feaafa26 (patch)
treed843c33f4d6a13ba073a3fe0aa0a60d3da2cc325 /qtip/driver/playbook/dpi/clean.yaml
parent46c06ea07e8807ca289e5a9c5f0d7b4655e3e4e3 (diff)
parent4c7557234e0395edda02efddbfae8de74cdda1e9 (diff)
Merge "Refactor dpi playbook"
Diffstat (limited to 'qtip/driver/playbook/dpi/clean.yaml')
-rw-r--r--qtip/driver/playbook/dpi/clean.yaml23
1 files changed, 23 insertions, 0 deletions
diff --git a/qtip/driver/playbook/dpi/clean.yaml b/qtip/driver/playbook/dpi/clean.yaml
new file mode 100644
index 00000000..0b9f9291
--- /dev/null
+++ b/qtip/driver/playbook/dpi/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 tempD
+ file:
+ path: '{{ ansible_env.HOME }}/tempD'
+ state: absent
+
+ - name: Cleaning qtip_result
+ file:
+ path: '{{ ansible_env.HOME }}/qtip_result'
+ state: absent