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

Webhook return value #58

Open
yajo opened this issue Nov 30, 2022 · 0 comments
Open

Webhook return value #58

yajo opened this issue Nov 30, 2022 · 0 comments
Labels
enhancement New feature or request

Comments

@yajo
Copy link

yajo commented Nov 30, 2022

It's good that we can trigger Ansible with a webhook, but some systems expect the webhook to return a value.

It would be very nice if Ansible could return the contents of some variable as the webhook response.

Some usage examples:

  • If the return value is JSON, it can act as a stateless metacontroller sync controller. Or, as it is Ansible, it could be only half-stateless.
  • If the return value is HTML, it can act as a web server (crazy, isn't it? 🤔)
@ssbarnea ssbarnea added the enhancement New feature or request label Aug 7, 2024
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