mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2026-11-29 22:37:29 +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>
19 lines
600 B
YAML
19 lines
600 B
YAML
---
|
|
# nocheck: run-once
|
|
|
|
- name: 📁 create {{ sys_timer_file }}
|
|
template: # nocheck: stack-host-template (per-host systemd unit, every managed host gets timers)
|
|
src: dummy.timer.j2
|
|
dest: "{{ [ DIR_SYSTEM_SERVICE, sys_timer_file ] | path_join }}"
|
|
register: dummy_timer
|
|
|
|
- name: "🚀 deploy timer"
|
|
systemd:
|
|
daemon_reload: true
|
|
name: "{{ sys_timer_file }}"
|
|
state: stopped
|
|
enabled: false
|
|
when: dummy_timer.changed or SYS_TIMER_ALL_ENABLED | bool
|
|
async: "{{ ASYNC_TIME if ASYNC_ENABLED | bool else omit }}"
|
|
poll: "{{ ASYNC_POLL if ASYNC_ENABLED | bool else omit }}"
|