Files
computer-playbook/roles/sys-stk-full/tasks/main.yml
kevinveenbirkenbachandClaude Opus 4.8 cddb0dc59b feat(lint): require emoji-prefixed task/step/job names + convert existing
Add tests/lint/repository/test_name_emoji_and_length.py: every Ansible task
name and GitHub Actions workflow/job/step name must start with an emoji (first
char not 0-9/A-Za-z) and be <= 80 chars.

- emit emoji names at the source: cli/build/include generator now writes
  "🔧 setup <app>" / "🚿 flush handlers after <app>" so generated
  tasks/groups/*-roles.yml satisfy the convention too
- convert existing task/step/job/workflow names to emoji-prefixed, choosing a
  task-fitting icon per action (📦 install, ✅ ensure, 🔍 probe, 🥾 bootstrap,
  🚀 deploy, 🧩 service-module load, ⬇️ checkout, 📂 include-routines, ...)

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-28 22:45:06 +02:00

35 lines
1.1 KiB
YAML

---
# nocheck: run-once
- name: "🧊 For '{{ application_id }}': freeze full-stack context"
ansible.builtin.set_fact:
sys_stk_full_application_id: "{{ application_id }}"
sys_stk_full_domain: "{{ lookup('domain', application_id) }}"
sys_stk_full_http_port: >-
{{
lookup(
'config',
application_id,
'services.' ~ (application_id | get_entity_name) ~ '.ports.local.http',
''
)
}}
changed_when: false
- name: "📂 '{{ application_id }}': include role sys-stk-front-proxy"
include_role:
name: sys-stk-front-proxy
apply:
delegate_to: "{{ (groups['svc-prx-openresty'] | default([]))[0] | default(inventory_hostname) }}"
run_once: true
vars:
application_id: "{{ sys_stk_full_application_id }}"
domain: "{{ sys_stk_full_domain }}"
http_port: "{{ sys_stk_full_http_port }}"
when: (groups['svc-prx-openresty'] | default([])) | length > 0
- name: "🧩 For '{{ application_id }}': load docker and db"
include_role:
name: sys-stk-backend
vars:
application_id: "{{ sys_stk_full_application_id }}"