Configuring httpd on docker using Ansible
Mar 22, 2021
In this article we use ansible and configure httpd on docker .
-> Let’s get started by configuring docker.
-> After that we will install docker.
-> Once docker is installed then we will copy our html code.
-> Then we will start our docker service.
-> After that we will install docker-py.
-> And then finally we will launch a container.
Now we will run our playbook and see if it works well.
The playbook runs successfully.
Now let’s check if the html code is visible or not.
Like this we have successfully configured docker and httpd using ansible.
Thank You!!!!