summaryrefslogtreecommitdiff
path: root/test/integration/targets/prepare_vmware_tests/tasks/setup_attach_hosts.yml
diff options
context:
space:
mode:
Diffstat (limited to 'test/integration/targets/prepare_vmware_tests/tasks/setup_attach_hosts.yml')
-rw-r--r--test/integration/targets/prepare_vmware_tests/tasks/setup_attach_hosts.yml30
1 files changed, 0 insertions, 30 deletions
diff --git a/test/integration/targets/prepare_vmware_tests/tasks/setup_attach_hosts.yml b/test/integration/targets/prepare_vmware_tests/tasks/setup_attach_hosts.yml
deleted file mode 100644
index 6ca19b95b5..0000000000
--- a/test/integration/targets/prepare_vmware_tests/tasks/setup_attach_hosts.yml
+++ /dev/null
@@ -1,30 +0,0 @@
-- fail:
- msg: "No ESXi hosts defined. esxi_hosts is empty."
- when: "esxi_hosts|length == 0"
-
-- name: Add ESXi Hosts to vCenter
- vmware_host:
- datacenter_name: '{{ dc1 }}'
- cluster_name: '{{ ccr1 }}'
- esxi_hostname: '{{ item }}'
- esxi_username: '{{ esxi_user }}'
- esxi_password: '{{ esxi_password }}'
- state: add_or_reconnect
- with_items: "{{ esxi_hosts }}"
-
-- name: Disable the Maintenance Mode
- vmware_maintenancemode:
- esxi_hostname: '{{ item }}'
- state: absent
- with_items: "{{ esxi_hosts }}"
-
-- name: Add Management Network VM Portgroup
- vmware_portgroup:
- hostname: '{{ item }}'
- username: '{{ esxi_user }}'
- password: '{{ esxi_password }}'
- esxi_hostname: 'item'
- switch: "vSwitch0"
- portgroup: VM Network
- validate_certs: no
- with_items: "{{ esxi_hosts }}"