Here is the directory structure of all the files in this directory:
$ tree
.
├── LICENSE
├── README.md
├── ansible.cfg
├── files
│ └── set-dns-serial.sh
├── handlers
│ └── main.yml
├── inventory
├── tasks
│ ├── configure_bind_dns.yml
│ ├── configure_dhcpd.yml
│ ├── configure_haproxy_lb.yml
│ └── configure_tftp_pxe.yml
├── templates
│ ├── default.j2
│ ├── dhcpd-uefi.conf.j2
│ ├── dhcpd.conf.j2
│ ├── haproxy.cfg.j2
│ ├── named.conf.j2
│ ├── pxe-bootstrap.j2
│ ├── pxe-master.j2
│ ├── pxe-worker.j2
│ ├── reverse.j2
│ └── zonefile.j2
└── vars
└── main.yml
5 directories, 21 files
The tasks
folder contain all the tasks to configure:
- Bind DNS server
- DHCP Server
- HTTP Server
- HAProxy Load balancer
- PXE / TFTP Server
Modify vars/main.yml
and set all required variables for configuring DNS, DHCP, HAProxy and TFTP/PXE boot.
vim vars/main.yml
This tasks in this repository are not functional on their own. You need to follow our guide on computingforgeeks.com shared in the link below:
How To Deploy OpenShift Container Platform on KVM
You can perform the script setup.sh to launch all the playbooks in sequence.