forked from evolix/ansible-roles
Add variables for generate "ldap_suffix" in amavis role.
This commit is contained in:
parent
2768b3146f
commit
5df27a4bc5
|
@ -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 misplaced gid attribute
|
||||||
* webapps/nextcloud: fix missing gid
|
* webapps/nextcloud: fix missing gid
|
||||||
* webapps/roundcube & evoadminmail: make roles more idempotent (were failing when played twice)
|
* webapps/roundcube & evoadminmail: make roles more idempotent (were failing when played twice)
|
||||||
|
* amavis: Add variables for generate "ldap_suffix"
|
||||||
|
|
||||||
### Removed
|
### Removed
|
||||||
|
|
||||||
|
|
3
amavis/defaults/main.yml
Normal file
3
amavis/defaults/main.yml
Normal 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] }}"
|
Loading…
Reference in a new issue