Renamed injection services

This commit is contained in:
2025-08-16 00:01:46 +02:00
parent 3b4821f7e7
commit cc2c1dc730
64 changed files with 43 additions and 43 deletions

View File

@@ -0,0 +1,29 @@
- name: Include dependency 'srv-web-7-4-core'
include_role:
name: srv-web-7-4-core
when: run_once_srv_web_7_4_core is not defined
- name: Generate color palette with colorscheme-generator
set_fact:
color_palette: "{{ lookup('colorscheme', global_css_base_color, count=global_css_count, shades=global_css_shades) }}"
- name: Generate inverted color palette with colorscheme-generator
set_fact:
inverted_color_palette: "{{ lookup('colorscheme', global_css_base_color, count=global_css_count, shades=global_css_shades, invert_lightness=True) }}"
- name: Deploy global.css
template:
src: global.css.j2
dest: "{{ global_css_destination }}"
owner: "{{ NGINX.USER }}"
group: "{{ NGINX.USER }}"
mode: '0644'
- name: Get stat for global.css
stat:
path: "{{ global_css_destination }}"
register: global_css_stat
- name: Set global_css_version
set_fact:
global_css_version: "{{ global_css_stat.stat.mtime }}"

View File

@@ -0,0 +1,4 @@
- block:
- include_tasks: 01_core.yml
- include_tasks: utils/run_once.yml
when: run_once_sys_srv_web_inj_css is not defined