mirror of
				https://git.lapiole.org/dani/ansible-roles.git
				synced 2025-11-04 04:41:27 +01:00 
			
		
		
		
	Update to 2023-10-23 17:00
This commit is contained in:
		@@ -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
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user