mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2025-08-29 15:06:26 +02:00
Optimized memberof for docker-ldap. LAM integration not functioning yet
This commit is contained in:
33
roles/docker-ldap/tasks/lam.yml
Normal file
33
roles/docker-ldap/tasks/lam.yml
Normal file
@@ -0,0 +1,33 @@
|
||||
- name: "load lam variables"
|
||||
include_vars:
|
||||
file: lam.yml
|
||||
|
||||
- name: "Ensure LAM profiles directory exists"
|
||||
file:
|
||||
path: "{{ lam_profiles_dir }}"
|
||||
state: directory
|
||||
mode: '0755'
|
||||
recurse: true
|
||||
|
||||
- name: "create {{docker_compose.directories.env}}lam.env"
|
||||
template:
|
||||
src: "lam/env.j2"
|
||||
dest: "{{docker_compose.directories.env}}lam.env"
|
||||
mode: '770'
|
||||
force: yes
|
||||
notify: docker compose project setup
|
||||
|
||||
- name: "create default.group to enable groupOfNames in LAM"
|
||||
template:
|
||||
src: "lam/default.group.j2"
|
||||
dest: "{{ lam_profiles_dir }}/default.group"
|
||||
mode: '0644'
|
||||
notify: docker compose project setup
|
||||
|
||||
- name: "Create groupOfNames.conf to enable groupOfNames as base module in LAM"
|
||||
template:
|
||||
src: "lam/groupOfNames.conf.j2"
|
||||
dest: "{{ lam_profiles_dir }}/groupOfNames.conf"
|
||||
mode: '0644'
|
||||
|
||||
|
@@ -39,13 +39,8 @@
|
||||
notify: docker compose project setup
|
||||
when: applications.ldap.webinterface == 'phpldapadmin'
|
||||
|
||||
- name: "create {{docker_compose.directories.env}}lam.env"
|
||||
template:
|
||||
src: "lam.env.j2"
|
||||
dest: "{{docker_compose.directories.env}}lam.env"
|
||||
mode: '770'
|
||||
force: yes
|
||||
notify: docker compose project setup
|
||||
- name: "execute lam tasks"
|
||||
include_tasks: lam.yml
|
||||
when: applications.ldap.webinterface == 'lam'
|
||||
|
||||
- name: "copy docker-compose.yml and env file"
|
||||
|
Reference in New Issue
Block a user