mirror of
https://git.lapiole.org/dani/ansible-roles.git
synced 2025-04-23 21:53:21 +02:00
Update to 2023-10-23 17:00
This commit is contained in:
parent
d5e112b0b6
commit
6480253016
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 |
@ -63,7 +63,19 @@
|
|||||||
file: path=/usr/share/lemonldap-ng/portal-skins/ state=absent
|
file: path=/usr/share/lemonldap-ng/portal-skins/ state=absent
|
||||||
tags: web
|
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
|
local_action: stat path=config/{{ inventory_hostname }}/lemonldap_ng/logos
|
||||||
register: llng_custom_logo
|
register: llng_custom_logo
|
||||||
vars:
|
vars:
|
||||||
@ -71,8 +83,8 @@
|
|||||||
tags: web
|
tags: web
|
||||||
|
|
||||||
- name: Copy custom logos
|
- name: Copy custom logos
|
||||||
synchronize: src=config/{{ inventory_hostname }}/lemonldap_ng/logos/ dest=/usr/share/lemonldap-ng/portal/htdocs/static/common/apps/
|
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.exists.isdir
|
when: llng_custom_logo.stat.exists and llng_custom_logo.stat.isdir
|
||||||
tags: web
|
tags: web
|
||||||
|
|
||||||
- name: Check if there're a custom backgrounds
|
- name: Check if there're a custom backgrounds
|
||||||
@ -87,6 +99,18 @@
|
|||||||
when: llng_custom_background.stat.exists and llng_custom_background.stat.isdir
|
when: llng_custom_background.stat.exists and llng_custom_background.stat.isdir
|
||||||
tags: web
|
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
|
- name: Create htpasswd file for API endpoints
|
||||||
htpasswd:
|
htpasswd:
|
||||||
path: /etc/lemonldap-ng/api.htpasswd
|
path: /etc/lemonldap-ng/api.htpasswd
|
||||||
|
Loading…
x
Reference in New Issue
Block a user