Skip to content

Latest commit

 

History

History

ansible-rest-api

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 

Rest API to run ansible playbooks

REST API with background process handling using Falcon, Celery, and Docker

Quick Start

Spin up the containers:

$ docker-compose up -d

Open your browser to http://localhost:8000/ping to view the app or to http://localhost:5555 to view the Flower dashboard.

Trigger a new task:

$ curl -X POST http://localhost:8000/create

Check the status:

$ curl http://localhost:8000/status/<ADD_TASK_ID>

Credits

Reference post.