ansible/roles/home/templates/home/config.py.j2

11 lines
323 B
Django/Jinja

{{ ansible_header | comment }}
ldap_server = '{{ home.ldap_server }}'
binddn = '{{ home.binddn }}'
password = '{{ home.ldap_password }}'
rootdn = '{{ home.rootdn }}'
home_dir = '/pool/home'
mail_dir = '/pool/mail'
home_quota = 'zfs set userquota@{user}=30G pool/home'
mail_quota = 'zfs set userquota@{user}=10G pool/mail'