Skip to content

Latest commit

 

History

History
37 lines (25 loc) · 953 Bytes

README.md

File metadata and controls

37 lines (25 loc) · 953 Bytes

Publish Image

Ansible Creator Server

Usage

podman run --name=ansible-creator-svc -d -p 5000:5000 ghcr.io/nilashishc/ansible-creator-server:latest

Scaffolding an Ansible collection

curl 'localhost:5000/init?collection=testns.testorg' --output testns-testorg.tar

Scaffolding an Ansible playbook project

curl 'localhost:5000/init?project=ansible-project&scm_org=ansible&scm_project=devops' --output ansible-devops-project.tar

Untar to get scaffolded contents:

tar -xvf </path/to/tar>

Debugging

Log into the running container inspect the logs:

podman exec -it ansible-creator-svc /bin/bash
cat ansible-creator-svc-<utc timestamp>.log
cat ansible-creator.log