2017-04-26 15:23:23 +01:00
|
|
|
---
|
2017-11-11 08:28:53 +00:00
|
|
|
# Configure the Dell baremetal compute nodes to PXE boot.
|
2017-04-26 15:33:48 +01:00
|
|
|
|
2017-11-11 08:28:53 +00:00
|
|
|
# Add Dell baremetal compute nodes to the Ansible inventory.
|
2017-04-26 15:33:48 +01:00
|
|
|
- include: dell-compute-node-inventory.yml
|
2017-04-26 15:23:23 +01:00
|
|
|
|
2017-11-11 08:28:53 +00:00
|
|
|
- name: Ensure Dell baremetal compute nodes are PXE booted
|
|
|
|
hosts: baremetal-compute
|
2017-04-26 15:23:23 +01:00
|
|
|
gather_facts: no
|
|
|
|
vars:
|
|
|
|
# Set this to the index of the inteface on which to enable PXE.
|
|
|
|
drac_pxe_interface: 1
|
|
|
|
# Set this to a list of indices of all interfaces.
|
|
|
|
drac_pxe_all_interfaces: [1, 2, 3, 4]
|
2017-04-26 15:33:48 +01:00
|
|
|
roles:
|
|
|
|
- role: ssh-known-host
|
|
|
|
- role: drac-pxe
|