diff --git a/roles/login/defaults/main.yaml b/roles/login/defaults/main.yaml new file mode 100644 index 0000000..a6b98fc --- /dev/null +++ b/roles/login/defaults/main.yaml @@ -0,0 +1 @@ +ldap_server: ldap.dmz.lilik diff --git a/roles/login/templates/config.py.j2 b/roles/login/templates/config.py.j2 new file mode 100644 index 0000000..1946f6d --- /dev/null +++ b/roles/login/templates/config.py.j2 @@ -0,0 +1,6 @@ +DOMAIN = 'dc=lilik', 'dc=it' +PEOPLE = 'o=People' +GROUP = 'o=Group' +SERVER = '{{ ldap_server }}' +ADMIN_CN = 'cn=admin,dc=lilik,dc=it' +ADMIN_PASSWORD = '{{ ldap_password }}'