ansible-runner-service
ansible-runner-service copied to clipboard
Add new API endpoints to manage playbooks
Provide the capability of adding new playbooks to the "project" folder using the REST API directly .
Now we have an endpoint for listing Playbooks: GET /api/v1/playbooks
Probably It will be needed to add a new endpoint for playbooks management
/api/v1/project/playbooks
with the following operations:
GET .../api/v1/project/playbooks
Retuns a list of available playbooks ( Move this from the current end-point
"/api/v1/project/playbooks"
POST .../api/v1/project/playbooks/<new_playbook>
Use the http request payload to store the content of the playbook <new_playbook>.
Creates the file <new_playbook> with the content stored in http payload in the projects folder.
DELETE .../api/v1/project/playbooks/<playbook>
Delete the file