You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In some cases can be usefull to assign some roles configuration to another role - add together their functionality.
For example, when I use vagrant-libvirt plugin, there are a lot common arguments, but some arguments are specific depending on the role. Config with nested roles can look like this:
Nested roles would be a really neat feature, but unfortunately they get complex quickly - what happens if you have role that is included multiple times, or what happens if there is a cycle in role requirement?
What we would need to do is come up with a sane, well-defined deep merge strategy. It might be possible given that most data structures in config_builder only run so deep and we have some knowledge of which keys should be arrays.
In some cases can be usefull to assign some roles configuration to another role - add together their functionality.
For example, when I use vagrant-libvirt plugin, there are a lot common arguments, but some arguments are specific depending on the role. Config with nested roles can look like this:
Thanks
Lukas
The text was updated successfully, but these errors were encountered: