{"id":47819264,"url":"https://github.com/haydenk/docker-ansible-testing","last_synced_at":"2026-04-03T19:02:25.068Z","repository":{"id":343385402,"uuid":"1177485740","full_name":"haydenk/docker-ansible-testing","owner":"haydenk","description":"Docker images for testing Ansible roles across multiple Linux distributions. Multi-arch (linux/amd64, linux/arm64) builds for Debian, Ubuntu, Fedora, Rocky Linux, Amazon Linux, and Alpine.","archived":false,"fork":false,"pushed_at":"2026-03-10T05:06:58.000Z","size":62,"stargazers_count":0,"open_issues_count":5,"forks_count":0,"subscribers_count":0,"default_branch":"develop","last_synced_at":"2026-03-10T12:40:11.705Z","etag":null,"topics":["alpine","amazonlinux","ansible","ansible-testing","arm64","debian","docker","docker-buildkit","fedora","github-actions","linux","multi-arch","rockylinux","testing","ubuntu"],"latest_commit_sha":null,"homepage":null,"language":"Dockerfile","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/haydenk.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":"CONTRIBUTING.md","funding":".github/FUNDING.yml","license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":"SECURITY.md","support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null},"funding":{"github":"haydenk","patreon":"haydenk"}},"created_at":"2026-03-10T04:19:31.000Z","updated_at":"2026-03-10T05:07:02.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/haydenk/docker-ansible-testing","commit_stats":null,"previous_names":["haydenk/docker-ansible-testing"],"tags_count":null,"template":false,"template_full_name":null,"purl":"pkg:github/haydenk/docker-ansible-testing","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/haydenk%2Fdocker-ansible-testing","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/haydenk%2Fdocker-ansible-testing/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/haydenk%2Fdocker-ansible-testing/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/haydenk%2Fdocker-ansible-testing/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/haydenk","download_url":"https://codeload.github.com/haydenk/docker-ansible-testing/tar.gz/refs/heads/develop","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/haydenk%2Fdocker-ansible-testing/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31371650,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-03T17:53:18.093Z","status":"ssl_error","status_checked_at":"2026-04-03T17:53:17.617Z","response_time":107,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["alpine","amazonlinux","ansible","ansible-testing","arm64","debian","docker","docker-buildkit","fedora","github-actions","linux","multi-arch","rockylinux","testing","ubuntu"],"created_at":"2026-04-03T19:02:17.974Z","updated_at":"2026-04-03T19:02:25.053Z","avatar_url":"https://github.com/haydenk.png","language":"Dockerfile","funding_links":["https://github.com/sponsors/haydenk","https://patreon.com/haydenk"],"categories":[],"sub_categories":[],"readme":"# docker-ansible-testing\n\nMulti-architecture Docker images for testing [Ansible](https://www.ansible.com/) roles across a variety of Linux distributions. Each image includes Ansible, Python 3, and a minimal set of packages needed to run Ansible playbooks inside a container.\n\n## Images\n\nImages are published to the GitHub Container Registry at `ghcr.io/haydenk/docker-ansible-testing/\u003cdistro\u003e:\u003cversion\u003e`.\n\n| Distro | Versions |\n|--------|---------|\n| `debian` | `trixie-slim`, `bookworm-slim`, `bullseye-slim` |\n| `ubuntu` | `noble`, `jammy`, `focal` |\n| `fedora` | `41`, `40`, `39` |\n| `rockylinux` | `9-minimal`, `8-minimal` |\n| `amazonlinux` | `2023`, `2` |\n| `alpine` | `3.21`, `3.20`, `3.19` |\n\nAll images are built for `linux/amd64` and `linux/arm64`.\n\n## Tags\n\nEach image is published with two tags per release:\n\n| Tag | Description |\n|-----|-------------|\n| `\u003cversion\u003e` | Floating — always points to the latest release |\n| `\u003cversion\u003e-\u003crelease\u003e` | Pinned — locked to a specific release date |\n\n**Examples:**\n```\nghcr.io/haydenk/docker-ansible-testing/debian:bookworm-slim\nghcr.io/haydenk/docker-ansible-testing/debian:bookworm-slim-20260309\n```\n\nReleases use date-based versioning: `YYYYMMDD`, `YYYYMMDD.1`, `YYYYMMDD.2`, etc.\n\n## Usage\n\n### Pull an image\n\n```bash\ndocker pull ghcr.io/haydenk/docker-ansible-testing/debian:bookworm-slim\n```\n\n### Verify Ansible\n\n```bash\ndocker run --rm ghcr.io/haydenk/docker-ansible-testing/debian:bookworm-slim ansible --version\n```\n\n### Run a playbook\n\n```bash\ndocker run --rm \\\n  -v \"$(pwd)\":/ansible \\\n  ghcr.io/haydenk/docker-ansible-testing/debian:bookworm-slim \\\n  ansible-playbook /ansible/playbook.yml\n```\n\n### Use in a Molecule scenario\n\n```yaml\n# molecule/default/molecule.yml\ndriver:\n  name: docker\nplatforms:\n  - name: debian-bookworm\n    image: ghcr.io/haydenk/docker-ansible-testing/debian:bookworm-slim\n    pre_build_image: true\n  - name: ubuntu-noble\n    image: ghcr.io/haydenk/docker-ansible-testing/ubuntu:noble\n    pre_build_image: true\n  - name: fedora-41\n    image: ghcr.io/haydenk/docker-ansible-testing/fedora:41\n    pre_build_image: true\n```\n\n## What's included\n\nEach image contains:\n\n- `ansible` (latest via pip)\n- `python3` and `pip`\n- `sudo`\n- `/etc/ansible/hosts` with a local inventory entry\n\nDebian and Ubuntu images additionally include `systemd` for roles that require service management.\n\n## Development\n\n### Prerequisites\n\n- Docker with Buildx\n- QEMU (for multi-arch builds)\n\n### Build an image locally\n\n```bash\ndocker buildx build \\\n  --platform linux/amd64 \\\n  --build-arg VERSION=bookworm-slim \\\n  -t test/debian:bookworm-slim \\\n  ./debian\n```\n\n### Run the verification checks\n\n```bash\ndocker run --rm test/debian:bookworm-slim ansible --version\ndocker run --rm test/debian:bookworm-slim python3 --version\ndocker run --rm test/debian:bookworm-slim test -f /etc/ansible/hosts\n```\n\n## Contributing\n\n1. Fork the repository\n2. Create a feature branch following git flow: `feature/\u003cname\u003e`\n3. Make your changes — if adding or removing a distro or version, update `matrix.json`\n4. Open a pull request against `develop`\n\nSee [CONTRIBUTING](CONTRIBUTING.md) for the full checklist.\n\n## License\n\n[GNU General Public License v3.0](LICENSE)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhaydenk%2Fdocker-ansible-testing","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhaydenk%2Fdocker-ansible-testing","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhaydenk%2Fdocker-ansible-testing/lists"}