service: Set static ips for other containers too

This commit is contained in:
uumas
2025-09-15 12:34:57 +03:00
parent 16babfd5ed
commit 597faa3fd5
8 changed files with 18 additions and 0 deletions

View File

@@ -47,6 +47,8 @@
vars:
socat_service_name: "{{ service_name }}"
socat_target_http_port: "{{ service_container_http_port }}"
socat_container_ip: >-
{{ service_container_ip | ansible.utils.ipmath(3) if _service_static_ip else '' }}
- name: Reverse proxy for {{ service_name }}
ansible.builtin.include_tasks: proxy.yaml