{"id":16362473,"url":"https://github.com/petemcw/docker-ansible-centos","last_synced_at":"2026-05-07T10:36:21.565Z","repository":{"id":139038525,"uuid":"77084189","full_name":"petemcw/docker-ansible-centos","owner":"petemcw","description":"CentOS Docker container for testing Ansible playbooks and roles.","archived":false,"fork":false,"pushed_at":"2016-12-21T21:42:55.000Z","size":2,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-08-11T23:34:53.687Z","etag":null,"topics":["ansible","docker","docker-image","testing-tools"],"latest_commit_sha":null,"homepage":null,"language":null,"has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/petemcw.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2016-12-21T20:33:36.000Z","updated_at":"2016-12-21T20:33:36.000Z","dependencies_parsed_at":"2023-05-03T11:17:31.528Z","dependency_job_id":null,"html_url":"https://github.com/petemcw/docker-ansible-centos","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/petemcw/docker-ansible-centos","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/petemcw%2Fdocker-ansible-centos","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/petemcw%2Fdocker-ansible-centos/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/petemcw%2Fdocker-ansible-centos/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/petemcw%2Fdocker-ansible-centos/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/petemcw","download_url":"https://codeload.github.com/petemcw/docker-ansible-centos/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/petemcw%2Fdocker-ansible-centos/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32733934,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-07T02:14:30.463Z","status":"ssl_error","status_checked_at":"2026-05-07T02:14:29.405Z","response_time":62,"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":["ansible","docker","docker-image","testing-tools"],"created_at":"2024-10-11T02:24:22.547Z","updated_at":"2026-05-07T10:36:21.547Z","avatar_url":"https://github.com/petemcw.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"# CentOS 7 Ansible Test Image\n\n**This image is not currently aimed at public consumption. It exists as an internal tool for testing [Ansible](http://www.ansibleworks.com/) development.**\n\n## About\n\nThis is an image for testing Ansible playbooks and roles.\n\n## Build\n\nTo build this as a Docker image, clone the repository and from within the project directory run:\n\n```bash\ndocker build -t docker-ansible-centos .\n```\n\n## Usage\n\n- Run a container from the image:\n\n  ```\n  docker run --detach --privileged \\\n    --volume=/sys/fs/cgroup:/sys/fs/cgroup:ro \\\n    --volume=$(pwd):/etc/ansible/roles/test_role:ro \\\n    petemcw/docker-ansible-centos:latest /usr/sbin/init\n  ```\n\n- Run Ansible inside the container:\n\n  ```\n  docker exec --tty \u003cCONTAINER ID\u003e env TERM=xterm ansible --version\n  docker exec --tty \u003cCONTAINER ID\u003e env TERM=xterm \\\n    ansible-playbook /etc/ansible/roles/test_role/tests/test.yml --syntax-check\n  ```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpetemcw%2Fdocker-ansible-centos","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpetemcw%2Fdocker-ansible-centos","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpetemcw%2Fdocker-ansible-centos/lists"}