disable lemonLDAP-NG to go with config file

This commit is contained in:
2026-03-24 19:40:57 -06:00
parent 4033fe3e9f
commit 313dfa43ce

View File

@@ -39,10 +39,10 @@
- "{{ vol_db }}" - "{{ vol_db }}"
- "{{ npm_data }}" - "{{ npm_data }}"
- "{{ npm_letsencrypt }}" - "{{ npm_letsencrypt }}"
- "{{ lemonldap_data }}" # - "{{ lemonldap_data }}"
- "{{ lemonldap_cfg }}" # - "{{ lemonldap_cfg }}"
- "{{ lemonldap_perl }}" # - "{{ lemonldap_perl }}"
- "{{ lemonldap_lib }}" # - "{{ lemonldap_lib }}"
# ----------------------------------------------------------------- # -----------------------------------------------------------------
# Pull required images (including Teamspeak) # Pull required images (including Teamspeak)
@@ -78,10 +78,10 @@
name: "{{ db_image }}" name: "{{ db_image }}"
state: present state: present
- name: Pull LemonLDAP image # - name: Pull LemonLDAP image
containers.podman.podman_image: # containers.podman.podman_image:
name: "{{ lemonldap_image }}" # name: "{{ lemonldap_image }}"
state: present # state: present
# ----------------------------------------------------------------- # -----------------------------------------------------------------
# Render all configuration files from the templates # Render all configuration files from the templates
@@ -250,24 +250,24 @@
# ----------------------------------------------------------------- # -----------------------------------------------------------------
# LemonLDAP-NG # LemonLDAP-NG
#------------------------------------------------------------------ #------------------------------------------------------------------
- name: Start LemonLDAP container # - name: Start LemonLDAP container
containers.podman.podman_container: # containers.podman.podman_container:
name: "{{ lemonldap_container_name }}" # name: "{{ lemonldap_container_name }}"
image: "{{ lemonldap_image }}" # image: "{{ lemonldap_image }}"
state: started # state: started
env: # env:
SSODOMAIN="{{ top_domain }}" # SSODOMAIN="{{ top_domain }}"
PORTAL_HOSTNAME="{{ ldap_portal_hostname }}" # PORTAL_HOSTNAME="{{ ldap_portal_hostname }}"
MANAGER_HOSTNAME="{{ ldap_manager_hostname }}" # MANAGER_HOSTNAME="{{ ldap_manager_hostname }}"
HANDLER_HOSTNAME="{{ ldap_handler_hostname }}" # HANDLER_HOSTNAME="{{ ldap_handler_hostname }}"
PORT="{{ lemonldap_port }}" # PORT="{{ lemonldap_port }}"
FASTCGI_LISTEN_PORT="{{ lemonldap_cgi_port }}" # FASTCGI_LISTEN_PORT="{{ lemonldap_cgi_port }}"
IPV4_only="true" # IPV4_only="true"
PRESERVEFILES="/etc/lemonldap-ng /var/lib/lemonldap-ng/conf /var/lib/lemonldap-ng/sessions /var/lib/lemonldap-ng/psessions /etc/nginx/sites-enabled" # PRESERVEFILES="/etc/lemonldap-ng /var/lib/lemonldap-ng/conf /var/lib/lemonldap-ng/sessions /var/lib/lemonldap-ng/psessions /etc/nginx/sites-enabled"
volumes: # volumes:
- "{{ lemonldap_data }}:/usr/share/lemonldap-ng:Z" # - "{{ lemonldap_data }}:/usr/share/lemonldap-ng:Z"
- "{{ lemonldap_cfg }}:/etc/lemonldap-ng:Z" # - "{{ lemonldap_cfg }}:/etc/lemonldap-ng:Z"
- "{{ lemonldap_perl }}:/usr/share:Z" # - "{{ lemonldap_perl }}:/usr/share:Z"
- "{{ lemonldap_lib }}:/var/lib/lemonldap-ng:Z" # - "{{ lemonldap_lib }}:/var/lib/lemonldap-ng:Z"
network: "{{ podman_network }}" # network: "{{ podman_network }}"
restart_policy: always # restart_policy: always