Files
computer-playbook/roles/web-app-yourls/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

25 lines
894 B
YAML

---
- name: "🧩 load docker, db and proxy for {{ application_id }}"
include_role:
name: sys-stk-full
vars:
application_id: web-app-yourls
compose_handlers_flush: false
webserver_extra_configuration: "{{ lookup('template', 'redirect.conf.j2') }}"
- name: "🎬 Stage trusted-header SSO build-context files for {{ application_id }}"
stack_host_copy:
src: "{{ item.src }}"
dest: "{{ [ lookup('container', application_id, 'directories.instance'), item.dest ] | path_join }}"
mode: "0644"
loop:
- { src: "Dockerfile", dest: "Dockerfile" }
- { src: "sso/infinito_sso.php", dest: "infinito_sso.php" }
- name: "🚿 Flush compose handlers for {{ application_id }}"
ansible.builtin.meta: flush_handlers
- name: "📦 Install the YOURLS database schema for {{ application_id }}"
ansible.builtin.include_tasks: install.yml
when: IS_STACK_HOST | bool