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

Submit button alternative functionality. #150

Open
nikos445 opened this issue Feb 15, 2024 · 6 comments
Open

Submit button alternative functionality. #150

nikos445 opened this issue Feb 15, 2024 · 6 comments
Assignees
Labels
enhancement New feature or request

Comments

@nikos445
Copy link

Feature Request:

  • Add extra functionality/options for submit button.

Options / Functionality:

  • Trigger Webhooks instead of ansible playbook / awx / etc.

Example use case:

@ansibleguy76 ansibleguy76 self-assigned this Feb 15, 2024
@ansibleguy76 ansibleguy76 added the enhancement New feature or request label Feb 15, 2024
@ansibleguy76 ansibleguy76 closed this as not planned Won't fix, can't repro, duplicate, stale Feb 15, 2024
@nikos445
Copy link
Author

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
Copy link
Author

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

@ansibleguy76
Copy link
Owner

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
Copy link
Owner

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.

@ansibleguy76 ansibleguy76 reopened this Feb 15, 2024
@nikos445
Copy link
Author

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)

@ansibleguy76
Copy link
Owner

I will probably add the submit option to an expression. Allow you to capture the extravars and do what you want. REST post, store, ftp, ... many options would become possible. Perhaps some sort of "plugin". I'll have to thing this through. let me know if you have ideas of your own

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants