philm / ansible_target

Docker image for testing Ansible playbooks

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Ansible Target

Docker image used for testing Ansible playbooks from an ansible_playbook Docker container.

Essentially this is a test-friendly SSH server with an "Ubuntu" user and other optimizations.

Example Usage:

docker run -d -p 2222:22 --name ansible_test -v ~/.ssh/id_rsa.pub:/home/ubuntu/.ssh/authorized_keys philm/ansible_target:latest

Note: certain privileged operations might not work without additional configuration.

Disclaimer: this image is intended for educational purposes. Feel free to use it as base image for your own Docker test images, or submit a pull request.

About

Docker image for testing Ansible playbooks


Languages

Language:Dockerfile 84.3%Language:Shell 15.7%