Update to 2023-10-23 17:00

This commit is contained in:
Daniel Berteaud 2023-10-23 17:00:22 +02:00
parent d5e112b0b6
commit 6480253016
7 changed files with 27 additions and 3 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 592 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.2 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 6.0 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 6.8 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 7.1 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 6.8 KiB

View File

@ -63,7 +63,19 @@
file: path=/usr/share/lemonldap-ng/portal-skins/ state=absent
tags: web
- name: Check if there are custom app logo
- name: Check if there are custom app logos
local_action: stat path=config/{{ inventory_hostname }}/lemonldap_ng/apps
register: llng_custom_apps
vars:
ansible_become: False
tags: web
- name: Copy custom app logos
synchronize: src=config/{{ inventory_hostname }}/lemonldap_ng/apps/ dest=/usr/share/lemonldap-ng/portal/htdocs/static/common/apps/
when: llng_custom_apps.stat.exists and llng_custom_apps.stat.isdir
tags: web
- name: Check if there are custom logos
local_action: stat path=config/{{ inventory_hostname }}/lemonldap_ng/logos
register: llng_custom_logo
vars:
@ -71,8 +83,8 @@
tags: web
- name: Copy custom logos
synchronize: src=config/{{ inventory_hostname }}/lemonldap_ng/logos/ dest=/usr/share/lemonldap-ng/portal/htdocs/static/common/apps/
when: llng_custom_logo.stat.exists and llng_custom_logo.stat.exists.isdir
synchronize: src=config/{{ inventory_hostname }}/lemonldap_ng/logos/ dest=/usr/share/lemonldap-ng/portal/htdocs/static/common/logos/
when: llng_custom_logo.stat.exists and llng_custom_logo.stat.isdir
tags: web
- name: Check if there're a custom backgrounds
@ -87,6 +99,18 @@
when: llng_custom_background.stat.exists and llng_custom_background.stat.isdir
tags: web
- name: Check if there're a custom CSS
local_action: stat path=config/{{ inventory_hostname }}/lemonldap_ng/css
register: llng_custom_css
vars:
ansible_become: False
tags: web
- name: Copy custom CSS
synchronize: src=config/{{ inventory_hostname }}/lemonldap_ng/css/ dest=/usr/share/lemonldap-ng/portal/htdocs/static/bootstrap/css/
when: llng_custom_css.stat.exists and llng_custom_css.stat.isdir
tags: web
- name: Create htpasswd file for API endpoints
htpasswd:
path: /etc/lemonldap-ng/api.htpasswd