@LinuxWorld
Write an Ansible PlayBook that does the following operations in the managed nodes:
🔹 Configure Docker.
🔹 Start and enable Docker services.
🔹 Pull the httpd server image from the Docker Hub.
🔹 Run the httpd container and expose it to the public.
🔹 Copy the html code into the Docker container and start the web server.
Deploy Customized Apache Server on AWS through Ansible
🔹 Provision EC2 instance through ansible.
🔹 Retrieve the IP Address of instance using dynamic inventory concept.
🔹 Configure the web server through ansible to listen to a port other than the default port 80 and change the DocumentRoot to a directory other than the default.
🔹 Create a role for webserver to customize the Instance and deploy the webpage to root directory.