ansible-playbook-bundle
ansible-playbook-bundle copied to clipboard
conditional apb param
Hello,
Is there a way to:
- show/hide a field based on some criteria?
- skip a plan (or not) based on a parameter's value?
For example, a field should only be shown if another field is set/filled/validated.
Thanks.
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?
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:
I was thinking if such behavior could be applied based on some criteria (checking a checkbox field in this case).
@odra there is an on going discussion here https://github.com/openshift/ansible-service-broker/issues/859 on the topic
Related PR: https://github.com/automationbroker/bundle-lib/pull/70