Support yaml inheritance over variable files #11780
Labels
affects_2.0
This issue/PR affects Ansible v2.0
affects_2.3
This issue/PR affects Ansible v2.3
feature
This issue/PR relates to a feature request.
needs_info
This issue requires further information. Please answer any outstanding questions.
needs_template
This issue/PR has an incomplete description. Please fill in the proposed template correctly.
Using yaml implicit inheritance in one variable file works fine and saves a lot of configuration lines.
Also ansible has its own concept of inheritance, which is quite verbose.
What does not work, is combining both.
I would like to define a parent element in
group_vars/all.yml
and override (parts of) it inhost_vars/test.yml
.To make this happen, ansible would need to merge yaml files before handing them to the yaml parser.
The text was updated successfully, but these errors were encountered: