Use ansible group_vars for service_configs hieradata
Change-Id: Ifa05dc0bce634ad06efa7f4658845c8d6d044818 Depends-On: https://review.opendev.org/#/c/673727
This commit is contained in:
parent
29a499d665
commit
5b2d2795a8
@ -542,6 +542,7 @@ outputs:
|
||||
- net_ip_map
|
||||
- cloud_domain
|
||||
- fqdn
|
||||
- service_configs
|
||||
when: tripleo_role_name == '{{role.name}}'
|
||||
tags:
|
||||
- overcloud
|
||||
|
@ -491,7 +491,6 @@ resources:
|
||||
type: json
|
||||
value:
|
||||
datafiles:
|
||||
service_configs: {get_attr: [{{role.name}}ServiceConfigSettings, value]}
|
||||
{{role.name.lower()}}_extraconfig:
|
||||
map_merge:
|
||||
- sensu::subscriptions: {get_attr: [{{role.name}}ServiceChainRoleData, value, monitoring_subscriptions]}
|
||||
@ -1061,7 +1060,10 @@ outputs:
|
||||
value:
|
||||
{%- for role in roles %}
|
||||
{{role.name}}:
|
||||
map_merge: {get_attr: [{{role.name}}, role_group_vars]}
|
||||
map_merge:
|
||||
list_concat:
|
||||
- {get_attr: [{{role.name}}, role_group_vars]}
|
||||
- [service_configs: {get_attr: [{{role.name}}ServiceConfigSettings, value]}]
|
||||
{%- endfor %}
|
||||
RoleNetHostnameMap:
|
||||
description: Mapping of each network to a list of hostnames for each role
|
||||
|
Loading…
Reference in New Issue
Block a user