mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2026-11-06 02:54:26 +00:00
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>
17 lines
554 B
YAML
17 lines
554 B
YAML
---
|
|
- name: 🚀 Deploy {{ js_file_name }}
|
|
stack_host_template:
|
|
src: "javascript/{{ js_file_name }}.j2"
|
|
dest: "{{ DASHBOARD_JS_SERVER_DIR }}/{{ js_file_name }}"
|
|
mode: "0644"
|
|
|
|
- name: ⬇️ Get stat for {{ js_file_name }}
|
|
stat:
|
|
path: "{{ DASHBOARD_JS_SERVER_DIR }}/{{ js_file_name }}"
|
|
register: javascript_file_stat
|
|
|
|
- name: 🔄 Update javascript_file_version with highest mtime
|
|
set_fact:
|
|
javascript_file_version: >-
|
|
{{ [ (javascript_file_version | default(0) | int), (javascript_file_stat.stat.mtime | int) ] | max }}
|