Skip to content

Repository with all the Ansible tasks and templates to setup an OCP4 cluster on KVM infrastructure.

License

Notifications You must be signed in to change notification settings

lubomben/ansible_setup_ocp4_kvm

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

OpenShift 4 Ansible tasks and Jinja templates for Bastion/Helper Node setup

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

Setting variables

Modify vars/main.yml and set all required variables for configuring DNS, DHCP, HAProxy and TFTP/PXE boot.

vim vars/main.yml

Running the tasks with Ansible

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

Using setup.sh

You can perform the script setup.sh to launch all the playbooks in sequence.

About

Repository with all the Ansible tasks and templates to setup an OCP4 cluster on KVM infrastructure.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Jinja 91.3%
  • Shell 8.7%