- HPE Redfish API implementation on HPE servers with iLO RESTful API technical white paper
- Dell Support for Dell EMC OpenManage Ansible Modules
- Lenovo Lenovo XClarity Controller Redfish REST API
- Copy VMware-VMvisor-Installer-xxx.iso ISO file to the HTTP server static file directory.
/usr/share/nginx/html/iso/
├── VMware-VMvisor-Installer-6.7.0.update03-14320388.x86_64.iso
├── VMware-VMvisor-Installer-7.0U2a-17867351.x86_64.iso
└── VMware-VMvisor-Installer-7.0U3d-19482537.x86_64.iso
Config NFS /etc/exports
shared directories for Jenkins Job
/usr/share/nginx/html *(rw,anonuid=0,anongid=0,all_squash,sync)
$ cp config-example.yaml config.yaml
$ vim config.yaml
config.yaml example
hosts:
- ipmi:
vendor: lenovo # vendor name [dell, lenovo, hpe]
address: 10.172.70.186 # IPMI address
username: username # IPMI username
password: password # IPMI password
esxi:
esxi_disk: ThinkSystem M.2 # ESXi os disk model or WWN ID
password: password # ESXi root user password
address: 10.172.69.86 # ESXi Management Network IP address
gateway: 10.172.64.1 # ESXi Management Network gateway
netmask: 255.255.240.0 # ESXi Management Network netmask
hostname: esxi-69-86 # ESXi hostname (option)
mgtnic: vmnic4 # ESXi vSwitch0's nic device, can be set to vmnic name or mac address
- ipmi:
vendor: dell
address: 10.172.18.191
username: username
password: password
esxi:
esxi_disk: DELLBOSS VD
password: password
address: 10.172.18.95
gateway: 10.172.16.1
netmask: 255.255.240.0
mgtnic: B9:96:91:A7:3F:D6
Make sure has installed yq command, and just run make inventory
command. After that, it will generate an ansible inventory file inventory.ini
.
[hpe]
10.172.18.191 username=username password=password esxi_address=10.172.18.95 esxi_password=password
[dell]
10.172.18.192 username=username password=password esxi_address=10.172.18.96 esxi_password=password
[lenovo]
10.172.18.193 username=username password=password esxi_address=10.172.18.97 esxi_password=password
[all:children]
hpe
dell
lenovo
make pre-check
make build-iso