-
Notifications
You must be signed in to change notification settings - Fork 3.4k
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: Programmable surveys #20
Comments
There's a happy medium to be found here between usable simplicity and encompassing an entire range of user possibilities in a JSON/YAML markup language. I'm going to strongly recommend that at most we support dependency chaining between fields and support |
I would really like to see this added as well. We're currently using Ansible to roll out stacks in AWS and we need to be able to select the application version to deploy which we want to populate from the version tags set on the available AMI's |
If you really need the feature now, take a look at a hack I did in #1408. That works for me. |
I was looking for the same thing! This would be good to retrieve previously data stored by an AWX job. |
Some variables/lists I'd be interested in templating into a survey:
|
I'm not sure how I missed this before now, but just stumbled across this. I would really like this as well. We are trying to put together almost a wizard like interface to configure network devices. We already have a playbook that gathers data form devices and uses the REST API to build drop-down lists for surveys, but it would really be nice to have:
|
Also would be great to have :
All cases might be covered with custom type of multichoice selector with values from fact or variable, where
Though, this doesn't cover REST API multichoices. |
Start using async-await
I would like to see this feature added as well |
I am part of a large company that needs this feature to switch their Ansible infrastructure completely from Rundeck to AWX, so I will be happy to see this implemented. |
We are a large enterprise that needs this feature asap. |
Would like to have that feature/ability as well. |
I wrote python script to update surveys choices with tower-cli.
|
I'd also like to put in my request to get this feature implemented. There are just many situations where external parameter need to be in a survey and the user has not the capacity to know all available values. |
+1 |
1 similar comment
+1 |
Hi, Thanks in advance 🙏. |
Maybe as a Crossreference for all Ansible Tower / Ansible Automation Platform (AAP) Users who wish to have this feature implemented: |
…4 goes in linting linting again Use the correct role on org permission check Co-authored-by: Elijah DeLee <kdelee@redhat.com> Update docs/bulk_api.md Co-authored-by: Elijah DeLee <kdelee@redhat.com> Update docs/bulk_api.md Co-authored-by: Elijah DeLee <kdelee@redhat.com> Update awx/main/access.py Co-authored-by: Elijah DeLee <kdelee@redhat.com> Update awx/main/access.py Co-authored-by: Elijah DeLee <kdelee@redhat.com> Update docs/bulk_api.md Co-authored-by: Alan Rominger <arominge@redhat.com> fix collection test (#19) improve readability of through model object creation (#18) lower num jobs/hosts in tests (#20) we can test query scaling at lower numbers, to reduce load in tests. We suspect this was causing some flake in the tests on PRs adjust the num of queries
+1 |
2 similar comments
+1 |
+1 |
This Issue has been closed as duplicate, there is a (RH internal) successor: https://issues.redhat.com/browse/AAP-3502 |
There is no need to upvote anything else as we are already aware this is a very popular feature request and have it on our planning list for consideration during the forthcoming dev cycles. If we have a fair wind and the opportunity to do this, it'll happen without further +1s etc. |
@ffirg Is it fair to say that PRs are welcome from the community on this until then? |
I'd welcome feedback on what functionality people want to see in this for sure. |
I'm interested in a few things that I think will make AWX far more useful in a large enterprise setting:
Thank you! |
I need to make an automation to deploy new VMs. Now, only when the user picks the value As of now, is there any way of doing this? |
Thanks for the input @DBAverage and @KristofStroobants. It's been added to my design doc for consideration into the feature when we're able to land it. |
Additional usecase: Workflow Job Template needs user-interaction to select which host to run on from inventory. Reason for this is to produce additional debug information for troubleshooting issues that occur on the host. We're working around this by having an awx job that rewrites the survey field on interval, but it certainly would be more elegant to have this based on dynamic inclusions of data already present in awx. |
Solve this problem, and in my humble opinion you can make a legitimate argument to replace vRealize Automation... easily being able to configure dynamic survey forms that populate on dropdown via internal Ansible scripts (which make REST calls externally) are a real need. |
Upvoting the need for this functionality. |
I exactly want this https://ansibleforms.com/ inside AAP/AWX/Ansible Tower. |
you win the internet in my book today! |
@chadmf more recent community requests for this feature, just in case you hadn't seen this 2017 RFE |
while waiting for this feature to be available I have created a role which based on text files updates values for dropdowns in particular job template. The values must be comma separated and one per line. One text file per question. One JT with multiple questions can be updated with this role at a time. |
+1 I'd also like to see this feature implemented. |
has anyone a workaround for this ? |
I would also need this feature any update ? |
We have multiple use cases that could benefit from this. |
no clue what I'm getting myself into and how complicated this feature is gonna be but lets give it a shot open a forum topic to discuss this https://forum.ansible.com/t/programable-survey-feature-in-awx/5806/2 |
As an additional information: https://access.redhat.com/solutions/7068218 |
AWX Feature Spec - Programmable Surveys
User Persona
Administrator delegating jobs to user
Delegated automation user
Usage Cases
High-level:
API Considerations
We must keep the survey JSON specification stable, or CLEARLY notify users when it changes. This may require a v2 survey spec.
http://json-schema.org/ may be of use.
UI/UX Considerations
Larger surveys should have options to collapse questions until needed. (c.f. #290)
Docs
Should have sample survey examples
QA Suggestions
Notes
Updates/Changelog
2017-09-06: initial/updated spec
2017-09-25: added note about collapsible surveys
The text was updated successfully, but these errors were encountered: