diff options
author | Yujun Zhang <zhang.yujunz@zte.com.cn> | 2017-04-22 22:19:27 +0800 |
---|---|---|
committer | Yujun Zhang <zhang.yujunz@zte.com.cn> | 2017-04-24 08:51:49 +0800 |
commit | e579659699b4571a69990efc5861914e4701a4f6 (patch) | |
tree | 25a1e3cb196c457b39a6e22b57ce0754361f6a21 /resources/ansible_roles/qtip-workspace/files/defaults/teardown.yml | |
parent | b9ac93be6587754b1e7ddc7c6bdafbf1f50fa50c (diff) |
Unify workdir
- use role variable `workdir`
- download dependencies to remote workdir with checksum
Change-Id: I2a7991e014e365fec532520c2b57a3fe480914d8
Signed-off-by: Yujun Zhang <zhang.yujunz@zte.com.cn>
Diffstat (limited to 'resources/ansible_roles/qtip-workspace/files/defaults/teardown.yml')
-rw-r--r-- | resources/ansible_roles/qtip-workspace/files/defaults/teardown.yml | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/resources/ansible_roles/qtip-workspace/files/defaults/teardown.yml b/resources/ansible_roles/qtip-workspace/files/defaults/teardown.yml new file mode 100644 index 00000000..4d51b64f --- /dev/null +++ b/resources/ansible_roles/qtip-workspace/files/defaults/teardown.yml @@ -0,0 +1,19 @@ +############################################################################## +# 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: compute + + vars_prompt: + - name: remove_workdir + prompt: "WARNING: remove work dir from system under test? (yes|no)" + default: no + + roles: + # teardown environment + - { role: qtip, tasks: teardown } |