{"id":18327618,"url":"https://github.com/spacelift-io/runner-ansible","last_synced_at":"2025-04-13T02:59:02.797Z","repository":{"id":46244318,"uuid":"510756888","full_name":"spacelift-io/runner-ansible","owner":"spacelift-io","description":null,"archived":false,"fork":false,"pushed_at":"2025-03-28T15:44:09.000Z","size":61,"stargazers_count":3,"open_issues_count":4,"forks_count":7,"subscribers_count":17,"default_branch":"main","last_synced_at":"2025-04-13T02:58:52.440Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Go","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/spacelift-io.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":"CODEOWNERS","security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2022-07-05T13:51:39.000Z","updated_at":"2025-03-28T15:44:12.000Z","dependencies_parsed_at":"2024-02-23T10:29:14.212Z","dependency_job_id":"44cd84a7-c197-483c-9c92-5584160d6b47","html_url":"https://github.com/spacelift-io/runner-ansible","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/spacelift-io%2Frunner-ansible","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/spacelift-io%2Frunner-ansible/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/spacelift-io%2Frunner-ansible/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/spacelift-io%2Frunner-ansible/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/spacelift-io","download_url":"https://codeload.github.com/spacelift-io/runner-ansible/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248657872,"owners_count":21140844,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":[],"created_at":"2024-11-05T19:11:40.159Z","updated_at":"2025-04-13T02:59:02.757Z","avatar_url":"https://github.com/spacelift-io.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Spacelift Ansible Runner Image\n\nThis repository contains the Dockerfile for building our default Ansible runner image.\n\n## Quick Start\n\nTo use the Ansible runner image, simply update your [stack settings](https://docs.spacelift.io/concepts/stack/stack-settings#runner-image)\nto use `public.ecr.aws/spacelift/runner-ansible` as the runner image for the stack.\n\n## Docker Repository\n\nThe image is pushed to the `public.ecr.aws/spacelift/runner-ansible` public repository. It is also pushed to the\n`ghcr.io/spacelift-io/runner-ansible` repository as a backup in case of issues with ECR.\n\nAltogether we have 4 flavors of the image:\n\n- `runner-ansible:${ANSIBLE_VERSION}` - built on top of `python:3.12-alpine` base image, with `ansible` and `ansible-runner` installed.\n- `runner-ansible:${ANSIBLE_VERSION}-aws` - built on top of `runner-ansible`, with `boto3` installed.\n- `runner-ansible:${ANSIBLE_VERSION}-gcp` - built on top of `runner-ansible`, with `google-auth` installed.\n- `runner-ansible:${ANSIBLE_VERSION}-azure` - built on top of `runner-ansible`, with `azure-cli` installed.\n\nEvery image is available for the following architectures:\n\n- linux/amd64\n- linux/arm64\n\n## Tag Model\n\nThis repository create a tag for each minor version of ansible.\n\nIn case you don't care about locking the minor version, we also create a tag for the major version that is automatically\nbumped when a new minor is released.\n\nYou can find below is a non-exhaustive list of tags. This may get outdated with time.\n\n- `10`, `10.2` \n- `10.1`\n- `9`, `9.8`\n- `9.7`\n- `...`\n\nAll tags are rebuild every sunday at midnight to be able to get latest security fixes.\n\n## Contributing\n\nThe only requirement for working on this repo is a [Docker](https://www.docker.com/) installation.\n\n**ℹ️ Please do not open PR to add a new package to those base images because your workflow need it.**\n\nWe want to keep the size of those base image as small as possible 🙏 Only package that are a **strong requirement** to run ansible will be accepted in base images. \n\nIf you need a specific package, please maintain your own version using those image as base image with `FROM public.ecr.aws/spacelift/runner-ansible:10`.\n\nWe are open to add new image flavors if needed to support common ansible roles and use cases. The rule of thumb is to keep base image small.\n\n### Testing a new Image\n\nThe easiest way to test a new image before opening a pull request is to push it to your own\nDocker repository and then update a test stack to use your custom image. The following steps\nexplain the process using Docker Hub, but any other public container registry can be used.\n\nFirst, sign-up for an account at [Docker Hub](https://hub.docker.com/), and login via `docker login`:\n\n```shell\ndocker login\n```\n\nNext, build the image using your Docker Hub username to tag it. For example, if your username\nis `abc123`, you would use the following command to build the image:\n\n```shell\ndocker build -t abc123/runner-ansible:latest .\n```\n\nOnce the build has completed, push your changes:\n\n```shell\ndocker push abc123/runner-ansible:latest\n```\n\nCongratulations! You can now update your stack to use `abc123/runner-ansible:latest` as its\nrunner image.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fspacelift-io%2Frunner-ansible","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fspacelift-io%2Frunner-ansible","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fspacelift-io%2Frunner-ansible/lists"}