14 lines
576 B
YAML
14 lines
576 B
YAML
---
|
|
services_rproxy_nginx_add_inet_hosts: "\
|
|
{% set add_host_list = [] %}\
|
|
{% for service in ( services_all_services | dict2items ) %}\
|
|
{{ add_host_list.append('--add-host=pod-' ~ service.key ~ ':' ~ service.value.inet_address) }}\
|
|
{% endfor %}\
|
|
{{ add_host_list | join(' ') }}"
|
|
services_rproxy_nginx_add_inet6_hosts: "\
|
|
{% set add_host_list = [] %}\
|
|
{% for service in ( services_all_services | dict2items ) %}\
|
|
{{ add_host_list.append('--add-host=pod-' ~ service.key ~ ':' ~ service.value.inet6_address) }}\
|
|
{% endfor %}\
|
|
{{ add_host_list | join(' ') }}"
|