FAUN — Developer Community 🐾

We help developers learn and grow by keeping them up with what matters. 👉 www.faun.dev

Follow publication

Member-only story

Running Ansible Through Docker

--

People who are learning ansible must have encountered a particular problem, where do you practice the whole thing!?

I can assure you, there are solutions out there such as kataconda but it was satisfying enough for me so I was looking for other solutions. One such solution I came across is Docker. God bless Docker because it made it so easy for me to practice ansible.

What I am essentially doing is running multiple containers which act as master machines, and worker machines respectively. ( I am assuming you know the lingo in ansible, If not I suggest you go through some tutorials before hopping here! )

Note: Before you proceed further, make sure you are familiar with ansible, docker, and docker-compose since I am all of it in this tutorial.

The software you need:

  1. Docker
  2. Docker-compose (It’s easier that way.)

Make sure you have the exact directory structure given If you are a beginner.

docker-compose.yml

--

--

Published in FAUN — Developer Community 🐾

We help developers learn and grow by keeping them up with what matters. 👉 www.faun.dev

Written by Vic

A software engineer, orator, video editor, chef (At least for myself), singer (Not exactly good), artist (Decent one) and a writer (Okayish one).

No responses yet

Write a response