From c2fd6236fe85f5b6af5d45e7a7d763ef0a4b3317 Mon Sep 17 00:00:00 2001 From: uumas Date: Sat, 28 Mar 2026 06:05:37 +0200 Subject: [PATCH] service: samll improvements --- roles/service/meta/argument_specs.yaml | 4 ++-- roles/service/tasks/redis.yaml | 4 ++++ 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/roles/service/meta/argument_specs.yaml b/roles/service/meta/argument_specs.yaml index 5967a2e..9639a1c 100644 --- a/roles/service/meta/argument_specs.yaml +++ b/roles/service/meta/argument_specs.yaml @@ -29,7 +29,7 @@ argument_specs: service_container_http_port: description: - Port inside the container where http requests are proxied to. - - If set to 0, http requests are proxied to /run/.sock inside the container + - If set to 0, http requests are proxied to fd:3 inside the container type: int required: false default: 0 @@ -482,7 +482,7 @@ argument_specs: - Name of the port. - >- If type is socket, the socket will be created at - /run/--.sock on the host. + /run/--socat.sock on the host. - If type is not socket, this is just informative. type: str required: true diff --git a/roles/service/tasks/redis.yaml b/roles/service/tasks/redis.yaml index f5e456d..0fc5119 100644 --- a/roles/service/tasks/redis.yaml +++ b/roles/service/tasks/redis.yaml @@ -8,5 +8,9 @@ container_networks: - name: "{{ service_name }}" ip: "{{ service_container_ip | ansible.utils.ipmath(2) if _service_static_ip else '' }}" + container_mounts: + - type: volume + source: redis + destination: /data container_hostname: redis container_auto_update: "{{ service_auto_update }}"