mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2025-12-02 15:39:57 +00:00
- Correct LDAP attribute FIRSTNAME changed to givenName - Add automated ldap.yaml rendering and bind mount - Create LDAP extension directory inside container - Adjust docker-compose.yml for proper LDAP config mount - Add strict formatting template for ldap.yaml - Update paths for SUITECRM_LDAP_CONFIG_HOST and SUITECRM_LDAP_EXTENSION_DIR Details: https://chatgpt.com/share/6928375d-1458-800f-bcc3-b3364ea69078
24 lines
661 B
YAML
24 lines
661 B
YAML
- name: "Load docker, db and proxy for {{ application_id }}"
|
|
include_role:
|
|
name: sys-stk-full-stateful
|
|
vars:
|
|
docker_compose_flush_handlers: false
|
|
|
|
- name: "Render SuiteCRM LDAP mapping"
|
|
template:
|
|
src: ldap.yaml.j2
|
|
dest: "{{ SUITECRM_LDAP_CONFIG_HOST }}"
|
|
notify:
|
|
- docker compose up
|
|
when: SUITECRM_LDAP_ENABLED | bool
|
|
|
|
- name: "Deploy '{{ SUITECRM_ENTRYPOINT_SCRIPT_HOST_ABS }}'"
|
|
copy:
|
|
src: "{{ SUITECRM_ENTRYPOINT_SCRIPT_FILE }}"
|
|
dest: "{{ SUITECRM_ENTRYPOINT_SCRIPT_HOST_ABS }}"
|
|
notify:
|
|
- docker compose up
|
|
- docker compose build
|
|
|
|
- name: "Docker Compose Up for '{{ application_id }}'"
|
|
meta: flush_handlers |