pcuzner / ansible-runner-service

Python project that wraps the ansible_runner 'engine' inside a RESTful API
Other
17 stars 9 forks source link

Add json restrictions on playbook run requests #6

Closed pcuzner closed 6 years ago

pcuzner commented 6 years ago

Ideally we should check content-type is appropriate on all requests. This is the first commit where this is enforced on a playbook start request. In addition, some cosmetic/doc changes have been made to logging and the class comments (seen in the api doc page)