2022-10-30 21:08:41 +01:00
|
|
|
- name: Reset reverse proxy hosts variable
|
|
|
|
set_fact:
|
|
|
|
service_rproxy_hosts:
|
|
|
|
|
2022-09-26 23:10:48 +02:00
|
|
|
- name: Collect reverse proxy hosts
|
|
|
|
set_fact:
|
|
|
|
service_rproxy_hosts: "{{ service_rproxy_hosts }} --add-host=pod-{{ item.key }}:{{ item.value.address }}"
|
|
|
|
with_items: "{{ services | dict2items }}"
|
|
|
|
|
|
|
|
- debug:
|
|
|
|
msg: "{{ service_rproxy_hosts }}"
|