Setup for testing and developing ansible playbooks locally
pip install -r requirements.txt to install Ansiblessh-keygen -t rsa -f dev/id_rsadev/test.sh -fcdev/test.sh --help for available options.dev/:dev/inventory - hosts setup for local dev. Mirrors main ansible inventory file, but with *.ans.local hostnames.dev/vars.yml - put vars in there that should override vars from main ansible config.dev/Dockerfile - Dockerfile for test containers.ansible_local_test is built.dev/inventory is parsed to pull out hostnames like *.ans.local./etc/hosts entry is added pointing to corresponding alias ip.ansible_local_test for each hostname:22 exposed on alias IP.