mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2026-11-09 04:06:42 +00:00
make compose-role-sync runs only the role of one deployed application, with its proxy vhost and injected snippets. It marks every shared service of the stack as converged and skips the stack-wide service stop. With pw= it stages the Playwright spec of the role again, renders its env and runs it. make design-sync keeps re-rendering only the shared CSS, the role stylesheet and the branding assets. Both run through one playbook-sync.yml with a scope, which replaces playbook-design.yml. The host placement of the proxy and the shared services moves from the constructor stage into tasks/utils/constructor/placement.yml, so the role sync can include it. base='<hex>' on both targets passes DESIGN_BASE_COLOR. The development inventory references that variable for the design base color and keeps #FFA500 as its default, so a deployed role can be rendered and checked with another palette. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
11 lines
391 B
YAML
11 lines
391 B
YAML
---
|
|
- name: "📦 Load the role variables of '{{ sync_application_id }}'"
|
|
ansible.builtin.include_vars:
|
|
file: "{{ lookup('path_absolute', 'roles', sync_application_id, 'vars', 'main.yml') }}"
|
|
|
|
- name: "🎨 Re-render the design files of '{{ sync_application_id }}'"
|
|
ansible.builtin.include_role:
|
|
name: sys-front-inj-design
|
|
vars:
|
|
application_id: "{{ sync_application_id }}"
|