mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2025-10-10 02:38:10 +02:00
- Rename sys-svc-webserver -> sys-svc-webserver-core - Rename sys-stk-front-pure -> sys-svc-webserver-https - Update includes, run_once flags, and docs across: * sys-ctl-mtn-cert-renew * sys-front-inj-* * sys-stk-front-proxy * sys-svc-certs * sys-svc-cln-domains * web-opt-rdr-* * web-svc-* - Remove redundant webserver include in web-opt-rdr-www - Fix documentation links Ref: ChatGPT conversation https://chatgpt.com/share/68d6cea2-3570-800f-acb3-c3277317f17b
22 lines
813 B
YAML
22 lines
813 B
YAML
- name: Include dependency 'sys-svc-webserver-core'
|
|
include_role:
|
|
name: sys-svc-webserver-core
|
|
when: run_once_sys_svc_webserver_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 }}"
|