Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create AWX (or Ansible Tower) API extention #70

Open
banz-ghb opened this issue Sep 20, 2018 · 1 comment
Open

Create AWX (or Ansible Tower) API extention #70

banz-ghb opened this issue Sep 20, 2018 · 1 comment

Comments

@banz-ghb
Copy link

This issue is a request.
I want AWX (or Ansible Tower) API extention.
It will complement the missing functions of awx workflow reasonable.

Swagger documents are as follows.

https://docs.ansible.com/ansible-tower/latest/html/towerapi/api_ref.html

usecase1

Monitor tools (prometheus, zabbix etc) invokes a job template, which means a playbook, through webhook consumer endpoint.

POST /api/v2/job_templates/{id}/launch/ Launch a Job Template

With the extra_vars, it is possible to change the behavior of the job template (such as target nodes and options)

usecase2

In accordance with the job execution result, subsequent processing such as notification and recovery are executed.

GET /api/v2/jobs/{id}/ Retrieve a Job
@zregvart
Copy link
Member

I see that AWX has a OpenAPI specification that can be built, perhaps the easiest way would be to build that specification and hand it over to the custom API client connector functionality.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants