aboutsummaryrefslogtreecommitdiffstats
path: root/ansible/infra_deploy.yml
diff options
context:
space:
mode:
authorStepan Andrushko <stepanx.andrushko@intel.com>2018-04-16 14:17:54 +0300
committerStepan Andrushko <stepanx.andrushko@intel.com>2018-04-17 19:50:11 +0300
commit535aeeb3e3ccffecd0591ef388dbbfea4b51e4c3 (patch)
tree9e2535f37300c8e056b1e7b98b27c4f9cbaca468 /ansible/infra_deploy.yml
parentf3f75ea39678b6da24e5ed6a61f77586f71d0128 (diff)
OpenStack deployment: delete RS or all VMs
New parameter is added to shell script to delete data for VMs either from input file or all. Added disk images removal as per new input parameter. JIRA: YARDSTICK-1123 Change-Id: I8d2cee4a3a7ad7147f4d59303bab656d80370221 Signed-off-by: Stepan Andrushko <stepanx.andrushko@intel.com>
Diffstat (limited to 'ansible/infra_deploy.yml')
-rw-r--r--ansible/infra_deploy.yml5
1 files changed, 4 insertions, 1 deletions
diff --git a/ansible/infra_deploy.yml b/ansible/infra_deploy.yml
index 4ad21af00..029879502 100644
--- a/ansible/infra_deploy.yml
+++ b/ansible/infra_deploy.yml
@@ -13,9 +13,12 @@
# limitations under the License.
---
- hosts: jumphost
+ vars:
+ rs_file: "{{ RS_FILE }}"
+ clean_up: "{{ CLEAN_UP | default(False) }}" # If True will be delete all VMs, networks, disk images
roles:
- - infra_check_requirements
- infra_destroy_previous_configuration
+ - infra_check_requirements
- infra_create_network
- infra_create_vms