You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
ansible/test/integration/targets/vmware_guest/tasks/run_test_playbook.yml

18 lines
432 B
YAML

- block:
- include_tasks: '{{ test_playbook }}'
always:
- name: Remove VM
vmware_guest:
hostname: "{{ vcenter_hostname }}"
username: "{{ vcenter_username }}"
password: "{{ vcenter_password }}"
validate_certs: no
# cluster: "{{ ccr1 }}"
name: '{{ item }}'
force: yes
state: absent
with_items:
- test_vm1
- test_vm2
- test_vm3