mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2025-08-29 15:06:26 +02:00
In between commit refactoring LDAP, to continue working on other computer
This commit is contained in:
@@ -1,33 +0,0 @@
|
||||
- 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'
|
||||
|
||||
|
@@ -3,13 +3,6 @@
|
||||
include_role:
|
||||
name: docker-compose
|
||||
|
||||
- name: "include role nginx-domain-setup for {{application_id}}"
|
||||
include_role:
|
||||
name: nginx-domain-setup
|
||||
vars:
|
||||
domain: "{{ domains[application_id] }}"
|
||||
http_port: "{{ ports.localhost.http[application_id] }}"
|
||||
|
||||
- name: Create {{domains[application_id]}}.conf if LDAP is exposed to internet
|
||||
template:
|
||||
src: "nginx.stream.conf.j2"
|
||||
@@ -29,20 +22,7 @@
|
||||
state: present
|
||||
ipam_config:
|
||||
- subnet: "{{ networks.local.central_ldap.subnet }}"
|
||||
|
||||
- name: "create {{docker_compose.directories.env}}phpldapadmin.env"
|
||||
template:
|
||||
src: "phpldapadmin.env.j2"
|
||||
dest: "{{docker_compose.directories.env}}phpldapadmin.env"
|
||||
mode: '770'
|
||||
force: yes
|
||||
notify: docker compose project setup
|
||||
when: applications.ldap.webinterface == 'phpldapadmin'
|
||||
|
||||
- name: "execute lam tasks"
|
||||
include_tasks: lam.yml
|
||||
when: applications.ldap.webinterface == 'lam'
|
||||
|
||||
- name: "copy docker-compose.yml and env file"
|
||||
include_tasks: copy-docker-compose-and-env.yml
|
||||
|
||||
|
Reference in New Issue
Block a user