mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2026-11-06 10:59:59 +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>
6 lines
182 B
YAML
6 lines
182 B
YAML
---
|
|
application_id: "web-app-mig"
|
|
entity_name: "{{ application_id | get_entity_name }}"
|
|
|
|
MIG_CONTAINER: "{{ lookup('config', application_id, 'services.' ~ entity_name ~ '.name') }}"
|