Launching Kubernetes is a tedious task and this problem can be solved if we can automate the task with configuration tools like ansible.
So I created an ansible collection which consists roles for provisioning the instances and then configuring the cluster. Now below is how I coded the roles
Creating VPC involves a lot of steps like creating the VPC first and then creating a subnet and then routing tables and gateways. So I decided to create a module to make this process easy.
Here is the the terraform registry link:
smc181002/vpc/aws | Terraform Registry
First, we need to…
In this blog, I am going to use ansible to configure docker container with httpd server. Now using ssh in docker is unadvisable in general case but since ansible works on SSH protocol.
Now I created a container image called centos-ssh. …
When it comes to some applications like webserver application from apache which has package name as httpd in RedHat based distros and apache2 in Debian based distros. Ansible cannot be intelligent in this case. …
Here we have 3 VMs which have connectivity with each other at the start. But we want to configure it such that the mn1 can ping to mn2 and mn3 but mn2 and mn3 can ping only to mn1 and not to each other.
Below are the IPs for the…
In this article, I am going to attach the docker container GUI in the windows with the help of Xming app.
Download the application from this website Xming X Server for Windows download | SourceForge.net
Xming is a X server for windows which helps us to display the output from…
For this task, I am using the ansible ec2 inventory plugin. This is easy to configure and this allows us to get dynamic inventory and all you need to do is to create a yaml file like below
— key: tags