Add variables for generate "ldap_suffix" in amavis role.

This commit is contained in:
Eric Morino 2024-02-06 10:29:52 +01:00
parent 2768b3146f
commit 5df27a4bc5
2 changed files with 4 additions and 0 deletions

View file

@ -102,6 +102,7 @@ The **patch** part changes is incremented if multiple releases happen the same m
* webapps/nextcloud: fix misplaced gid attribute
* webapps/nextcloud: fix missing gid
* webapps/roundcube & evoadminmail: make roles more idempotent (were failing when played twice)
* amavis: Add variables for generate "ldap_suffix"
### Removed

3
amavis/defaults/main.yml Normal file
View file

@ -0,0 +1,3 @@
ldap_hostname: "{{ ansible_hostname }}"
ldap_domain: "{{ ansible_domain }}"
ldap_suffix: "dc={{ ldap_hostname }},dc={{ ldap_domain.split('.')[-2] }},dc={{ ldap_domain.split('.')[-1] }}"