From 9eb2005c087a6c064fd2880edd253028e3ea1513 Mon Sep 17 00:00:00 2001 From: Yujun Zhang Date: Thu, 24 Aug 2017 17:07:50 +0800 Subject: Refactor storperf testing scripts into ansible role Change-Id: Ifbfe0818a528dbd9b2c176acf39450ca480e931a Signed-off-by: Yujun Zhang --- resources/ansible_roles/storperf/tasks/main.yml | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 resources/ansible_roles/storperf/tasks/main.yml (limited to 'resources/ansible_roles/storperf/tasks') diff --git a/resources/ansible_roles/storperf/tasks/main.yml b/resources/ansible_roles/storperf/tasks/main.yml new file mode 100644 index 00000000..b326dc47 --- /dev/null +++ b/resources/ansible_roles/storperf/tasks/main.yml @@ -0,0 +1,15 @@ +############################################################################## +# 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 +############################################################################## + + +- name: preparing stack for storperf testing + local_action: "shell {{ role_path }}/files/prepare.sh chdir={{ output }}" + +- name: running storperf testing + local_action: "shell {{ role_path }}/files/start_job.sh chdir={{ output }}" -- cgit 1.2.3-korg