aboutsummaryrefslogtreecommitdiffstats
path: root/ansible/roles/uninstall_spec_cpu2006
diff options
context:
space:
mode:
authorrexlee8776 <limingjiang@huawei.com>2017-11-16 08:49:16 +0000
committerrexlee8776 <limingjiang@huawei.com>2017-12-13 02:46:28 +0000
commit7bd43b239b7be6f478399526a177922d4482bcc2 (patch)
tree6203df4e3a3d18fcc769c82e768bc5213b281151 /ansible/roles/uninstall_spec_cpu2006
parentce52059f5f78912eeff2d97235c1028c218bf960 (diff)
bugfix: tc078 fails in some situations
1. make "SPECint_benchmark, runspec_iterations, runspec_tune, runspec_size, runspec_rate" parameterized and change the default value "int^429" to "int" 2. remove "become: true" in some roles since it does not need root privilege JIRA: YARDSTICK-852 Change-Id: Icb384bddc12911e2681a981d0504e0e142d1a8ec Signed-off-by: rexlee8776 <limingjiang@huawei.com>
Diffstat (limited to 'ansible/roles/uninstall_spec_cpu2006')
-rw-r--r--ansible/roles/uninstall_spec_cpu2006/tasks/main.yaml4
1 files changed, 1 insertions, 3 deletions
diff --git a/ansible/roles/uninstall_spec_cpu2006/tasks/main.yaml b/ansible/roles/uninstall_spec_cpu2006/tasks/main.yaml
index 72d8c93ee..b2a50896e 100644
--- a/ansible/roles/uninstall_spec_cpu2006/tasks/main.yaml
+++ b/ansible/roles/uninstall_spec_cpu2006/tasks/main.yaml
@@ -10,9 +10,8 @@
- name: remove SPEC CPU 2006
file:
- path: /usr/cpu2006
+ path: ~/cpu2006
state: absent
- become: true
- name: umount SPEC CPU 2006 ISO
shell:
@@ -25,4 +24,3 @@
file:
path: ~/cpu2006-1.2.iso
state: absent
- become: true