ansibleguy76 / ansibleforms

A webapplication to create pretty advanced forms to run ansible playbooks or awx templates.
https://ansibleforms.com/
GNU General Public License v3.0
66 stars 10 forks source link

Submit button alternative functionality. #150

Open nikos445 opened 7 months ago

nikos445 commented 7 months ago

Feature Request:

Options / Functionality:

Example use case:

nikos445 commented 7 months ago

I already implemented with Webhook in ansible playbook that is saved internally to persistent volume :) but i thought that it would be a great feature to add in the ansible forms. It will enhance its ability to trigger ansible playbooks in jenkins not only AWX

nikos445 commented 7 months ago

Additionally, i found an issue that if you execute playbook locally, some extravars, are not passed. E.g. jobid

ansibleguy76 commented 7 months ago

Additionally, i found an issue that if you execute playbook locally, some extravars, are not passed. E.g. jobid

Can you make that a separate thread ?

ansibleguy76 commented 7 months ago

I already implemented with Webhook in ansible playbook that is saved internally to persistent volume :) but i thought that it would be a great feature to add in the ansible forms. It will enhance its ability to trigger ansible playbooks in jenkins not only AWX

i totally understand. So instead of ansible and awx, a custom endpoint, perhaps using fnRestAdvanced. Would not be a bad idea, let's reopen this.

nikos445 commented 7 months ago

Please also consider the ability to disable submit button if required fields are not fulfilled (not being able to click it instead of evaluating the fields and showing error)