-
-
Notifications
You must be signed in to change notification settings - Fork 995
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
Feature: Limit as own Task-Form Field #1357
Comments
Hi @ansibleguy Thank you! |
Hi @ansibleguy , thanks for raising this issue. I personally, use |
Possible Workaround for now: 'ansible_limit' via Survey vars |
@ansibleguy, concur strongly! |
I've noticed that the limit field has been created in the Database and API in this commit : 23c3947 So i guess Its just a matter of time before it gets introduced into the GUI I'd like to have the ability on a template to say that limit is required or not in the same fashion as Survey Variables, this could help stop people from launching a playbook on all hosts at once, Pushing this idea further would be to be able to put the limit in the template and at run time any limit passed would be additional. I work with Netbox source inventories and for example would like the user that is allow to run the playbooks on only the dev env have the dev group "hardcoded" in the limit and any additional limit the user enters is for is run "confort" |
I've added the field to the view in this commit: PierrickBrun@7a3a8c5 It worked without adding anything else since the field is already present in the API. I made it to my own use so I made the field required but if you want to test it I created a release including the commit. https://github.com/PierrickBrun/semaphore/pkgs/container/semaphore |
Is there a update on when the limit field is coming? |
I am also looking forward to this |
Greetings!
--limit
is a very commonly used flag that deserves its own form-field as the JSON block is not so 'nice' to work with (especially on a per-task basis)Related to:
The text was updated successfully, but these errors were encountered: