ansible-edda/playbooks/roles/services/deploy/rproxy/vars/nginx.yml

14 lines
576 B
YAML
Raw Normal View History

2022-12-18 23:43:40 +01:00
---
2023-07-29 14:38:57 +02:00
services_rproxy_nginx_add_inet_hosts: "\
2022-12-16 21:23:24 +01:00
{% set add_host_list = [] %}\
{% for service in ( services_all_services | dict2items ) %}\
2023-07-29 14:38:57 +02:00
{{ 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) }}\
2022-12-16 21:23:24 +01:00
{% endfor %}\
{{ add_host_list | join(' ') }}"