Add README.md
This commit is contained in:
parent
01c8936db7
commit
cda4173f12
20
README.md
Normal file
20
README.md
Normal file
|
@ -0,0 +1,20 @@
|
|||
# Matrixtest-IaC-Ansible
|
||||
This ansible playbook creates a three node cluster in openstack.
|
||||
|
||||
In this case a microk8s cluster.
|
||||
|
||||
The following tasks is executed by this playbook.
|
||||
- Creates a custom security group with rules to accept traffic between the nodes.
|
||||
- Create an os volume from the debian-12 image.
|
||||
- Create an snap volume to be used as an LVM volume for easy resize and mounted on /lib/snap.
|
||||
- Query all security groups in the project.
|
||||
- Create an network port for each node and use a selection of the queried security groups.
|
||||
- Create an instance with os volume, snap volume and port attached and a custom cloudinit config.
|
||||
|
||||
## Cloudinit config.
|
||||
|
||||
Cloudinit does the following tasks.
|
||||
- Install tools for LVM2,XFS and the Chronyd ntp sevice.
|
||||
- Configure Chronyd to use netnod.se as a source.
|
||||
- Configure a lvol_snap LVM volume and format it with XFS.
|
||||
- Add a mount record of the lvm volume in fstab and verifies it.
|
Loading…
Reference in a new issue