ARTH Task-14.2

kanav Gupta
Mar 4, 2021

Further in ARTH — Task 10 have to create an Ansible playbook that will retrieve newContainer IP and update the inventory. So that further Configuration of Webserver could be done inside that Container.

Step 1: — Write a playbook for it

Step 2:- Now its time to test our code let test it using command

ansible-playbook playbookname.yml

Step3 :- lets check the inventory file

as you can see it retrieves the ip by it own

Lets check using webUI

--

--