mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2026-11-06 19:01:54 +00:00
The sys-svc-container healthcheck templates (curl/wget/nc/tcp/http) now derive container_port from services.<service_name>.ports.internal.http, so a role no longer needs to set container_port only to feed the shared healthcheck. Add the container-port-set-unused lint that fails a role setting container_port without using it elsewhere, then resolve every flagged role: drop the redundant assignment where the derivation reproduces the value, or mark it with nocheck where the port is non-http, a constant, or keyed on a service the derivation cannot reach. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
8 lines
377 B
YAML
8 lines
377 B
YAML
---
|
|
application_id: web-svc-xmpp
|
|
entity_name: "{{ application_id | get_entity_name }}"
|
|
|
|
EJABBERD_CONTAINER: "{{ lookup('config', application_id, 'services.xmpp.name') }}"
|
|
XMPP_DOMAIN: "{{ (lookup('applications', application_id).domains.canonical | first) }}"
|
|
XMPP_CONFIG_FILE: "{{ [ lookup('container', application_id, 'directories.instance'), 'ejabberd.yml' ] | path_join }}"
|