https://github.com/kb-perbyte/container-ansible-creator
https://github.com/kb-perbyte/container-ansible-creator
Last synced: 12 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/kb-perbyte/container-ansible-creator
- Owner: KB-perByte
- Created: 2024-04-10T10:28:31.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2024-04-10T18:18:30.000Z (almost 2 years ago)
- Last Synced: 2025-02-16T12:57:34.086Z (about 1 year ago)
- Language: Python
- Size: 5.86 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# container-ansible-creator
Builds a container with ansible creator to scaffold a collection within it and exposes a POST API to download a tarball of the collection
```bash
podman build -t my_creator_image .
podman run -p 3100:5000 my_creator_image
curl -X POST \
-H "Content-Type: application/json" \
-d '{"collection_name": "myapp.test"}' \
http://localhost:3100/fetch_collection_tar --output collection.tgz
```