Category: github, yaml, ansible

It’s an open source software(CLI) meant for provisioning and configuration management . Ansible can also double as a application deployment tool via IaC. As it’s free and flexible we can use it for multiple situations , ranging from simple configurations like yum , docker to provisioning a cloud application and so on.

Copy the html code in /var/www/html directory and start the web server we start off with : then: Next thing to do is , to configure our inventory.

i] Configuring the yum repository for docker :ii] Installing docker in that node:iii] Pulling the image from dockerhub :iv] Making a Directory :v] Now all that’s left is , to start the docker services and with that the ip is exposed with port 80 with 9999vi] Running the playbook: using the command : Next we have to check at the node’s end if everything is up and running ( for confidence of course!

Related Articles