Commit 1ee214f 1 parent 70e6d04 commit 1ee214f Copy full SHA for 1ee214f
File tree 3 files changed +8
-42
lines changed
tests/integration/targets/prepare_vmware_tests/tasks
3 files changed +8
-42
lines changed Original file line number Diff line number Diff line change 9
9
- include_tasks : setup_cluster.yml
10
10
- include_tasks : setup_attach_hosts.yml
11
11
when : setup_attach_host is defined
12
- - include_tasks : move_host_out_of_cluster.yml
13
- when : move_host_out_of_cluster is defined
14
12
- include_tasks : setup_datastore.yml
15
13
when : setup_datastore is defined
16
14
- include_tasks : setup_virtualmachines.yml
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 3
3
when : " esxi_hosts|length == 0"
4
4
5
5
- name : Add ESXi Hosts to vCenter
6
- vmware_host :
7
- datacenter_name : ' {{ dc1 }}'
8
- cluster_name : ' {{ ccr1 }}'
9
- esxi_hostname : ' {{ item }}'
6
+ vmware.vmware.esxi_host :
7
+ hostname : ' {{ vcenter_hostname }}'
8
+ username : ' {{ vcenter_username }}'
9
+ password : ' {{ vcenter_password }}'
10
+ datacenter : ' {{ dc1 }}'
11
+ cluster : ' {{ ccr1 }}'
12
+ esxi_host_name : ' {{ item }}'
10
13
esxi_username : ' {{ esxi_user }}'
11
14
esxi_password : ' {{ esxi_password }}'
12
- state : add_or_reconnect
15
+ state : present
13
16
with_items : " {{ esxi_hosts }}"
14
17
15
18
- name : Disable the Maintenance Mode
You can’t perform that action at this time.
0 commit comments