ansibleplaybookbundle / ansible-playbook-bundle

THIS REPO IS MIGRATING: https://github.com/automationbroker/apb
GNU General Public License v2.0
140 stars 70 forks source link

conditional apb param #265

Open odra opened 6 years ago

odra commented 6 years ago

Hello,

Is there a way to:

For example, a field should only be shown if another field is set/filled/validated.

Thanks.

jmontleon commented 6 years ago

Regarding the first one there currently is not. I think we'd like to find a way as it's come up multiple times.

The second one I am not sure I fully understand. In the current UI work flow plan selection happens before filling out/selecting parameters, so I'm not sure how we could skip the plan based on parameter values. Can you explain a little further about what you'd like to see here?

odra commented 6 years ago

Something similar when I add a parameter in bind_parameters.

If I choose to create the binding during the apb creation it will add a "Parameter" step right after the "Biding" one:

screenshot from 2018-04-24 09-41-41

I was thinking if such behavior could be applied based on some criteria (checking a checkbox field in this case).

maleck13 commented 6 years ago

@odra there is an on going discussion here https://github.com/openshift/ansible-service-broker/issues/859 on the topic

dymurray commented 6 years ago

Related PR: https://github.com/automationbroker/bundle-lib/pull/70