Cleanup the Browbeat workload vms after Install.

Change-Id: Ib1b9ab4275e2fe65e914fb1435c12b64e234dd30
This commit is contained in:
akrzos 2018-01-18 16:59:55 -05:00 committed by Alex Krzos
parent 73275dc38a
commit b2a6eae5ef
1 changed files with 6 additions and 0 deletions

View File

@ -29,3 +29,9 @@
- name: Update visibility
shell: source {{ overcloudrc }} ; openstack image set {{ browbeat_workloads[item].name }} --public
with_items: "{{ browbeat_workloads }}"
- name: Delete workload guests after copying
shell: |
. {{ overcloudrc }}
openstack server delete {{browbeat_workloads[item].name}}
with_items: "{{browbeat_workloads}}"