diff options
author | Yujun Zhang <zhang.yujunz@zte.com.cn> | 2017-05-16 09:54:55 +0800 |
---|---|---|
committer | Yujun Zhang <zhang.yujunz@zte.com.cn> | 2017-05-16 09:54:55 +0800 |
commit | 1089daee7bbf76a1686b6e1f4fee8dc79b5b7968 (patch) | |
tree | bcd7458f54d2fe1ae11f7f4b6cbb5efdfd5b10af /resources | |
parent | 426ad7b517f20ff8c77ed69dcd056db7d5278f18 (diff) |
Remove prompt for teardown
Interactive prompt will block automatic task execution in CI
Change-Id: I435045186660ddda517f847e7cc33174e878da6d
Signed-off-by: Yujun Zhang <zhang.yujunz@zte.com.cn>
Diffstat (limited to 'resources')
-rw-r--r-- | resources/ansible_roles/qtip-workspace/files/template/teardown.yml | 5 | ||||
-rw-r--r-- | resources/ansible_roles/qtip/tasks/teardown.yml | 1 |
2 files changed, 0 insertions, 6 deletions
diff --git a/resources/ansible_roles/qtip-workspace/files/template/teardown.yml b/resources/ansible_roles/qtip-workspace/files/template/teardown.yml index 4d51b64f..cd0b9a2c 100644 --- a/resources/ansible_roles/qtip-workspace/files/template/teardown.yml +++ b/resources/ansible_roles/qtip-workspace/files/template/teardown.yml @@ -9,11 +9,6 @@ - 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 } diff --git a/resources/ansible_roles/qtip/tasks/teardown.yml b/resources/ansible_roles/qtip/tasks/teardown.yml index 660b3a6a..0c7989a5 100644 --- a/resources/ansible_roles/qtip/tasks/teardown.yml +++ b/resources/ansible_roles/qtip/tasks/teardown.yml @@ -13,4 +13,3 @@ file: path: "{{ qtip_workdir }}" state: absent - when: remove_workdir|bool |