forked from ucs-compute-solutions/Flashstack-IaC-UCSM6
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathinventory
86 lines (70 loc) · 4.62 KB
/
inventory
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
[ucs]
10.1.164.50 username=admin password=H1ghV0lt!
[nexus]
n9kA ansible_host=10.1.164.61 ansible_user=admin ansible_password=H1ghV0lt! ansible_network_os=nxos
n9kB ansible_host=10.1.164.62 ansible_user=admin ansible_password=H1ghV0lt! ansible_network_os=nxos
[pure]
#Pure Management IP. List only one cluster IP.
#10.2.164.100
192.168.10.102
[mds]
mdsA ansible_host=10.1.164.63 ansible_user=admin ansible_password=H1ghV0lt! ansible_network_os=nxos
mdsB ansible_host=10.1.164.64 ansible_user=admin ansible_password=H1ghV0lt! ansible_network_os=nxos
# e.g. mdsA ansible_host=192.168.1.4 ansible_user=admin ansible_password=cisco!23 ansible_network_os=nxos
# e.g. mdsB ansible_host=192.168.1.5 ansible_user=admin ansible_password=cisco!23 ansible_network_os=nxos
[vmware:children]
#
# This section is used to define the ESXi configuration parameters.
# You need to provide vmotion, nfs, iSCSI-A and iSCSI-B (if needed) IP addresses and subnet masks to be configured on VMK for the hosts
#
# The VMware vCenter connectivity information is defined in group_vars/all.yml using following variables:
# vcenter_hostname, vcenter_username, vcenter_password
#
# The ESXi host username and password is also defined (copied) in group_vars/all.yml esxi_username and esxi_password
#
esxi_fc
esxi_iscsi
esxi_nvme
[vmware:vars]
ansible_connection=ssh
ansible_user=root
ansible_ssh_pass=H1ghV0lt!
ansible_ssh_common_args='-o StrictHostKeyChecking=no'
[esxi_fc]
#
# Comment out or delete all the hosts if ESXi hosts with FC connectivity are not present
# FC host configuration will only take place if the variable configure_fc: "yes" is defined (not commended out)
#
#nx-esxi-fc-1.flashstack.com vmotion_ip=192.168.30.111 vmotion_mask=255.255.255.0
#nx-esxi-fc-2.flashstack.com vmotion_ip=192.168.30.112 vmotion_mask=255.255.255.0
#nx-esxi-fc-3.flashstack.com vmotion_ip=192.168.30.113 vmotion_mask=255.255.255.0
vm-host-infra-fcp-01.flashstack.com vmotion_ip=192.168.30.111 vmotion_mask=255.255.255.0
vm-host-infra-fcp-02.flashstack.com vmotion_ip=192.168.30.112 vmotion_mask=255.255.255.0
vm-host-infra-fcp-03.flashstack.com vmotion_ip=192.168.30.113 vmotion_mask=255.255.255.0
# e.g. 10.1.1.101 vmotion_ip=192.168.30.101 vmotion_mask=255.255.255.0
# e.g. 10.1.1.102 vmotion_ip=192.168.30.102 vmotion_mask=255.255.255.0
[esxi_iscsi]
#
# Comment out or delete all the hosts if ESXi hosts with iSCSI connectivity are not present
# FC host configuration will only take place if the variable configure_fc: "yes" is defined (not commented out)
#
#<ESXi-3-Mgmt-IP-Address> vmotion=<vMotion-VMK-IP-to-be-configured> vmotion_mask=<Subent Mask for vMotion> nfs=<NFS-VMK-IP-to-be-configured> nfs_mask=<Subent Mask for NFS> iscsi_a_ip=<iSCSI-A-IP-to-be-configured> iscsi_b_ip=<iSCSI-B-IP-to-be-configured> iscsi_mask=< Common Subnet Mask for both iSCSI>
#<ESXi-4-Mgmt-IP-Address> vmotion=<vMotion-VMK-IP-to-be-configured> vmotion_mask=<Subent Mask for vMotion> nfs=<NFS-VMK-IP-to-be-configured> nfs_mask=<Subent Mask
nx-esxi-iscsi-1.flashstack.com vmotion_ip=192.168.30.117 vmotion_mask=255.255.255.0 iscsi_a_ip=192.168.101.61 iscsi_b_ip=192.168.102.61 iscsi_mask=255.255.255.0
nx-esxi-iscsi-2.flashstack.com vmotion_ip=192.168.30.118 vmotion_mask=255.255.255.0 iscsi_a_ip=192.168.101.62 iscsi_b_ip=192.168.102.62 iscsi_mask=255.255.255.0
nx-esxi-iscsi-3.flashstack.com vmotion_ip=192.168.30.119 vmotion_mask=255.255.255.0 iscsi_a_ip=192.168.101.63 iscsi_b_ip=192.168.102.63 iscsi_mask=255.255.255.0
# e.g. 10.1.1.103 vmotion_ip=192.168.30.103 vmotion_mask=255.255.255.0 iscsi_a_ip=192.168.10.103 iscsi_b_ip=192.168.20.103 iscsi_mask=255.255.255.0
# e.g. 10.1.1.104 vmotion_ip=192.168.30.104 vmotion_mask=255.255.255.0 iscsi_a_ip=192.168.10.104 iscsi_b_ip=192.168.20.104 iscsi_mask=255.255.255.0
[esxi_nvme]
#
# Comment out or delete all the hosts if ESXi hosts with NVMe connectivity are not present
# FC-NVMe host configuration will only take place if the variable configure_fc_nvme: "yes" is defined, AND configure_fc: "no" is commented out)
#
#nx-esxi-fc-1.flashstack.com vmotion_ip=192.168.30.111 vmotion_mask=255.255.255.0
#nx-esxi-fc-2.flashstack.com vmotion_ip=192.168.30.112 vmotion_mask=255.255.255.0
#nx-esxi-fc-3.flashstack.com vmotion_ip=192.168.30.113 vmotion_mask=255.255.255.0
vm-host-infra-nvme-1.flashstack.com vmotion_ip=192.168.30.121 vmotion_mask=255.255.255.0
vm-host-infra-nvme-2.flashstack.com vmotion_ip=192.168.30.122 vmotion_mask=255.255.255.0
vm-host-infra-nvme-3.flashstack.com vmotion_ip=192.168.30.123 vmotion_mask=255.255.255.0
# e.g. 10.1.1.101 vmotion_ip=192.168.30.101 vmotion_mask=255.255.255.0
# e.g. 10.1.1.102 vmotion_ip=192.168.30.102 vmotion_mask=255.255.255.0