https://github.com/rareloop/ansible-images
https://github.com/rareloop/ansible-images
Last synced: 6 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/rareloop/ansible-images
- Owner: Rareloop
- Created: 2022-05-25T08:31:18.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2024-07-23T09:33:01.000Z (11 months ago)
- Last Synced: 2025-02-19T14:43:54.284Z (4 months ago)
- Language: Shell
- Size: 17.6 KB
- Stars: 0
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Ansible Docker
A simple dockerfile based on Alpine linux which installs the requested Ansible Version.
## Building
You can build an image by doing the following: `docker build --build-arg ANSIBLE_VERSION=4.8.0 . -t rareloop/ansible:4.8.0`. Replace the ANSIBLE_VERSION and tag name with whatever you need.
## Usage example
You can use a created image like so: `docker run --rm -v "$PWD":/ansible -v ~/.ssh:/root/.ssh:delegated -w /ansible rareloop/ansible:4.8.0 ansible-playbook main.yml`