Commit 1fb237f8 authored by Clément OUDOT's avatar Clément OUDOT
Browse files

Default logo and bg for LL::NG (#1)

parent 2881c362
......@@ -51,6 +51,9 @@
lemonldap2_unprotect_profile_url: "{{ lookup('env', 'LEMONLDAP2_UNPROTECT_PROFILE_URL') | default(0, true) }}"
lemonldap2_unprotect_photo_url: "{{ lookup('env', 'LEMONLDAP2_UNPROTECT_PHOTO_URL') | default(0, true) }}"
lemonldap2_logo: "{{ lookup('env', 'LOGO') | default('fusioniam-logo.png', true) }}"
lemonldap2_background: "{{ lookup('env', 'BACKGROUND') | default('fusioniam-background.jpg', true) }}"
tasks:
- name: LemonLDAP main configuration file
template:
......
......@@ -70,3 +70,19 @@
owner: root
group: root
mode: '0644'
- name: Copy default logo
copy:
src: fusioniam-logo.png
dest: /usr/share/lemonldap-ng/portal/htdocs/static/
owner: root
group: root
mode: '0644'
- name: Copy default background
copy:
src: fusioniam-background.jpg
dest: /usr/share/lemonldap-ng/portal/htdocs/static/common/backgrounds/
owner: root
group: root
mode: '0644'
......@@ -135,6 +135,10 @@
value: "{{ lemonldap2_requiretoken }}"
- name: "singleSession"
value: "{{ lemonldap2_singlesession }}"
- name: "portalMainLogo"
value: "{{ lemonldap2_logo }}"
- name: "portalSkinBackground"
value: "{{ lemonldap2_background }}"
- name: Set LLNG Cookie configuration
lemonldap_config:
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment