ansible-edda/playbooks/tasks/services/deploy/00-hosts.yml

8 lines
250 B
YAML

- 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 }}"