mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2025-09-08 11:17:17 +02:00
- Move run_once include from main.yml to 01_core.yml in desk-gnome-caffeine and desk-ssh - Introduce sys-svc-cdn/01_core.yml to handle shared/vendor dirs once and role dirs per run - Replace cdn.* with cdn_paths_all.* across inj roles - Split cdn_dirs into cdn_dirs_role and CDN_DIRS_GLOBAL - Ensure cdn_urls uses cdn_paths_all Details: https://chatgpt.com/share/68b58d64-1e28-800f-8907-36926a9e9a9b
22 lines
771 B
YAML
22 lines
771 B
YAML
- name: Include dependency 'srv-core'
|
|
include_role:
|
|
name: srv-core
|
|
when: run_once_srv_core is not defined
|
|
|
|
- name: Generate color palette with colorscheme-generator
|
|
set_fact:
|
|
color_palette: "{{ lookup('colorscheme', CSS_BASE_COLOR, count=CSS_COUNT, shades=CSS_SHADES) }}"
|
|
|
|
- name: Generate inverted color palette with colorscheme-generator
|
|
set_fact:
|
|
inverted_color_palette: "{{ lookup('colorscheme', CSS_BASE_COLOR, count=CSS_COUNT, shades=CSS_SHADES, invert_lightness=True) }}"
|
|
|
|
- name: Deploy default CSS files
|
|
template:
|
|
src: "{{ ['css', item ~ '.j2'] | path_join }}"
|
|
dest: "{{ [cdn_paths_all.shared.css, item] | path_join }}"
|
|
owner: "{{ NGINX.USER }}"
|
|
group: "{{ NGINX.USER }}"
|
|
mode: '0644'
|
|
loop: "{{ CSS_FILES }}"
|