Skip to content
This repository was archived by the owner on Jun 7, 2023. It is now read-only.

Commit 9051027

Browse files
committed
got it working! needed the weird php syntax.. go figure.. clean up
1 parent 872b996 commit 9051027

2 files changed

Lines changed: 6 additions & 3 deletions

File tree

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
11
# UID/GID auto increment starting number.
22
# we want this relatively high so that we don't clash with other linux accounts on systems
3-
min_auto_uid_number: 2000
4-
min_auto_gid_number: 2000
3+
4+
auto_number:
5+
min:
6+
uid: 2000
7+
gid: 2000

.ansible/templates/docker-compose.yaml.j2

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ services:
1313
PHPLDAPADMIN_LDAP_CLIENT_TLS: 'true'
1414
PHPLDAPADMIN_LDAP_CLIENT_TLS_REQCERT: demand
1515
PHPLDAPADMIN_LDAP_CLIENT_TLS_CA_CRT_FILENAME: {{ ssl_cert_filename }}
16-
PHPLDAPADMIN_LDAP_HOSTS: "#PYTHON2BASH:[{'{{ domain }}': [{'server': [{'tls': True}, {'port': 389}]}, {'login': [{'bind_id': 'cn=admin,dc=diesel,dc=net'}, {'bind_pass': '{{ admin_password }}'}]}, {'auto_number': [{'min': \"array('uidNumber'=>2000, 'gidNumber'=>2000)\"}]}]}]"
16+
PHPLDAPADMIN_LDAP_HOSTS: "#PYTHON2BASH:[{'{{ domain }}': [{'server': [{'tls': True}, {'port': 389}]}, {'login': [{'bind_id': 'cn=admin,dc=diesel,dc=net'}, {'bind_pass': '{{ admin_password }}'}]}, {'auto_number': [{'min': \"array('uidNumber'=>{{auto_number.min.uid}}, 'gidNumber'=>{{auto_number.min.gid}})\"}]}]}]"
1717
command: >
1818
--loglevel debug
1919
deploy:

0 commit comments

Comments
 (0)