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

Sign up to discover human stories that deepen your understanding of the world.

Free

Distraction-free reading. No ads.

Organize your knowledge with lists and highlights.

Tell your story. Find your audience.

Membership

Read member-only stories

Support writers you read most

Earn money for your writing

Listen to audio narrations

Read offline with the Medium app

--

--

No responses yet

Write a response