The hierarchy should dynamically grow if an interpolated variable contains an Array type of value

Take the following example:

$roles = ["roleA", "roleB", "roleC"]

environments/%{::environment}/%{::roles}/common

should become:

- environments/%{::environment}/roleA/common
- environments/%{::environment}/roleB/common
- environments/%{::environment}/roleC/common

This pull request is to mainly discuss this feature request. I find it extremely useful in my environment and it allows me to leverage things like Foreman hostgroups etc.