Skip to content

Instantly share code, notes, and snippets.

@initcron
Last active September 15, 2025 06:08
Show Gist options
  • Save initcron/bbfc28e417e8a8822cac4e1f2ec818a4 to your computer and use it in GitHub Desktop.
Save initcron/bbfc28e417e8a8822cac4e1f2ec818a4 to your computer and use it in GitHub Desktop.

Ansible Controller

Install Ansible with Homebrew on Mac

brew install ansible

Install Visual Studio Code : https://code.visualstudio.com/

Ansible Nodes

Option 1 : Install Docker : https://docs.docker.com/engine/install/

option 2 : Install Rancher Desktop : https://rancherdesktop.io/

validate using

docker version 

docker compose version 

Clone the repo to setup nodes using docker

git clone https://github.com/codespaces-io/codespaces.git 

cd codespaces/cs-ansible 

docker compose -f docker-compose.training.yml up -d

validate the nodes are up

docker compose ps 
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment