mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2026-12-02 07:47:58 +00:00
Every desk- role becomes dsk-, and the three coding agents move to dsk-gnt- under a category of their own. The category carries a title, hanzi and icon but no invokable flag: an invokable child under an invokable parent is rejected outright, which is also why web itself is not invokable. Three things a search and replace would have broken without a sound. get_entity_name now strips dsk-gnt-, so the primary entity keys agnt-claude, agnt-cursor and agnt-pi no longer resolved and all three roles dropped out of the CI plan. Eighteen run_once guards carried the old name against a convention its own test enforces. DESKTOP_ROLE_PREFIX in the addon spec lint is a literal, so the desktop exemption it grants would have matched nothing and the lint would have moved to the wrong rule in silence. docs/requirements/035 is not a historical document but a register a lint holds to every role with an application_id, so its list carries the new ids. In 026 only the links move; the prose stays as a statement about the tree at the time it was written. Measured against the plan with the rename normalised, the deployed role#variant set is unchanged. A stale id in an inventory is caught before any deploy starts: the pre-flight validator reports Invalid group 'desk-firefox' (not in application_ids). Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
37 lines
1.1 KiB
YAML
37 lines
1.1 KiB
YAML
---
|
|
- name: "📦 Install git"
|
|
package_install:
|
|
id: git
|
|
|
|
- name: 📦 Install gitcon CLI system-wide via pip
|
|
include_role:
|
|
name: sys-pip-install
|
|
vars:
|
|
package_name: gitcon
|
|
global_install: true
|
|
|
|
- when: run_once_dsk_git is not defined
|
|
block:
|
|
- name: 🔧 setup git (as workstation user)
|
|
ansible.builtin.command:
|
|
argv:
|
|
- "{{ lookup('command_path', 'gitcon') }}"
|
|
- --merge-option
|
|
- rebase
|
|
- --name
|
|
- "{{ lookup('users', WORKSTATION_USER).firstname }} {{ lookup('users', WORKSTATION_USER).lastname }}"
|
|
- --email
|
|
- "{{ lookup('users', WORKSTATION_USER).email }}"
|
|
- --website
|
|
- "{{ lookup('users', WORKSTATION_USER).website }}"
|
|
- --signing
|
|
- gpg
|
|
- --gpg-key
|
|
- "{{ lookup('users', WORKSTATION_USER).gpg }}"
|
|
become: true
|
|
become_user: "{{ lookup('users', WORKSTATION_USER).username }}"
|
|
environment:
|
|
PATH: "/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"
|
|
|
|
- include_tasks: utils/once/flag.yml
|