Add service defined ansible_group_vars to RoleGroupVars

This would allow us not to merge them manually when doing
config-download.

Change-Id: Ic0af64bfd2f16e6a54d09e525499276d9c330a27
This commit is contained in:
ramishra 2021-06-12 13:39:36 +05:30
parent 7f36a91785
commit a3814c08d8
1 changed files with 1 additions and 0 deletions

View File

@ -1302,6 +1302,7 @@ outputs:
{%- for role in roles %}
{{role.name}}:
map_merge:
- {get_attr: [{{role.name}}ServiceChainRoleData, value, ansible_group_vars]}
- {get_attr: [{{role.name}}GroupVars, value]}
- {get_attr: [{{role.name}}ConfigData, value]}
- any_errors_fatal: {get_param: {{role.name}}AnyErrorsFatal}