Skip to content
No description, website, or topics provided.
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Type Name Latest commit message Commit time
Failed to load latest commit information.

For testing ansible without vagrant

Generate key and build image

ssh-keygen -f ansible-key
docker build -t ansible-docker ./
docker run --rm -ti ansible-docker\

Check Docker IPs

docker network inspect bridge
docker network inspect bridge -f '{{range .Containers}}{{.IPv4Address}} {{end}}' 

Ping server ('test' is the hosts profile)

ansible all -m ping --private-key=ansible-key -i ./hosts
You can’t perform that action at this time.