Loading README.rst +3 Changes for README.rst: 3 added lines, 0 removed lines. Original line number Diff line number Diff line Loading @@ -17,6 +17,9 @@ Role Variables openldap_domain: '{{ ansible_domain }}' #LDAP domain, converted to ldap formatted. Defaults to the domain name of the machine. openldap_basedn: #LDAP base distinguished name, defaults to machine's domain converted to LDAP format. openldap_password: #Password for admin account, must be set. openldap_tls_cert: /etc/ssl/certs/ssl-cert-snakeoil.pem #TLS cert. openldap_tls_key: /etc/ssl/private/ssl-cert-snakeoil.key #TLS key. openldap_tls_ca_cert: '{{ openldap_tls_cert }}' #TLS cert for CA. Dependencies ------------ Loading defaults/main.yml +3 Changes for defaults/main.yml: 3 added lines, 0 removed lines. Original line number Diff line number Diff line Loading @@ -5,3 +5,6 @@ openldap_organization: '{{ ansible_domain }}' openldap_domain: '{{ ansible_domain }}' openldap_basedn: 'dc={{ ansible_domain.split(".") | join(",dc=") }}' openldap_password: openldap_tls_cert: /etc/ssl/certs/ssl-cert-snakeoil.pem openldap_tls_key: /etc/ssl/private/ssl-cert-snakeoil.key openldap_tls_ca_cert: '{{ openldap_tls_cert }}' tasks/main.yml +4 −3 Changes for tasks/main.yml: 4 added lines, 3 removed lines. Original line number Diff line number Diff line Loading @@ -32,6 +32,7 @@ - slapd - gnutls-bin - python-ldap - ssl-cert - name: Allow slapd to access the TLS key user: Loading Loading @@ -60,11 +61,11 @@ - name: Configure olcTLS attributes with_items: - name: olcTLSCertificateFile values: '{{ tls_cert_path }}' values: '{{ openldap_tls_cert }}' - name: olcTLSCertificateKeyFile values: '{{ tls_key_path }}' values: '{{ openldap_tls_key }}' - name: olcTLSCACertificateFile values: '{{ tls_ca_cert_path }}' values: '{{ openldap_tls_ca_cert }}' - name: olcTLSCipherSuite values: '+AES-128-GCM:+AES-256-GCM:+AES-128-CBC:+AES-256-CBC:+ECDHE-RSA:+DHE-RSA:+AEAD:+SHA1:+SHA256:+SHA384' ldap_attr: Loading templates/phpmyadmin.conf.j2 +2 −2 Changes for templates/phpmyadmin.conf.j2: 2 added lines, 2 removed lines. Original line number Diff line number Diff line Loading @@ -2,8 +2,8 @@ <VirtualHost _default_:443> DocumentRoot /usr/share/phpldapadmin SSLEngine on SSLCertificateFile {{ tls_cert_path }} SSLCertificateKeyFile {{ tls_key_path }} SSLCertificateFile {{ openldap_tls_cert }} SSLCertificateKeyFile {{ openldap_tls_key }} SSLProtocol all -SSLv2 -SSLv3 SSLCipherSuite !kRSA:!3DES:!RC4:!DES:!MD5:!aNULL:!NULL:AESGCM+ECDH:AES256+ECDH:AES128:+SHA1; SSLHonorCipherOrder on Loading Loading
README.rst +3 Changes for README.rst: 3 added lines, 0 removed lines. Original line number Diff line number Diff line Loading @@ -17,6 +17,9 @@ Role Variables openldap_domain: '{{ ansible_domain }}' #LDAP domain, converted to ldap formatted. Defaults to the domain name of the machine. openldap_basedn: #LDAP base distinguished name, defaults to machine's domain converted to LDAP format. openldap_password: #Password for admin account, must be set. openldap_tls_cert: /etc/ssl/certs/ssl-cert-snakeoil.pem #TLS cert. openldap_tls_key: /etc/ssl/private/ssl-cert-snakeoil.key #TLS key. openldap_tls_ca_cert: '{{ openldap_tls_cert }}' #TLS cert for CA. Dependencies ------------ Loading
defaults/main.yml +3 Changes for defaults/main.yml: 3 added lines, 0 removed lines. Original line number Diff line number Diff line Loading @@ -5,3 +5,6 @@ openldap_organization: '{{ ansible_domain }}' openldap_domain: '{{ ansible_domain }}' openldap_basedn: 'dc={{ ansible_domain.split(".") | join(",dc=") }}' openldap_password: openldap_tls_cert: /etc/ssl/certs/ssl-cert-snakeoil.pem openldap_tls_key: /etc/ssl/private/ssl-cert-snakeoil.key openldap_tls_ca_cert: '{{ openldap_tls_cert }}'
tasks/main.yml +4 −3 Changes for tasks/main.yml: 4 added lines, 3 removed lines. Original line number Diff line number Diff line Loading @@ -32,6 +32,7 @@ - slapd - gnutls-bin - python-ldap - ssl-cert - name: Allow slapd to access the TLS key user: Loading Loading @@ -60,11 +61,11 @@ - name: Configure olcTLS attributes with_items: - name: olcTLSCertificateFile values: '{{ tls_cert_path }}' values: '{{ openldap_tls_cert }}' - name: olcTLSCertificateKeyFile values: '{{ tls_key_path }}' values: '{{ openldap_tls_key }}' - name: olcTLSCACertificateFile values: '{{ tls_ca_cert_path }}' values: '{{ openldap_tls_ca_cert }}' - name: olcTLSCipherSuite values: '+AES-128-GCM:+AES-256-GCM:+AES-128-CBC:+AES-256-CBC:+ECDHE-RSA:+DHE-RSA:+AEAD:+SHA1:+SHA256:+SHA384' ldap_attr: Loading
templates/phpmyadmin.conf.j2 +2 −2 Changes for templates/phpmyadmin.conf.j2: 2 added lines, 2 removed lines. Original line number Diff line number Diff line Loading @@ -2,8 +2,8 @@ <VirtualHost _default_:443> DocumentRoot /usr/share/phpldapadmin SSLEngine on SSLCertificateFile {{ tls_cert_path }} SSLCertificateKeyFile {{ tls_key_path }} SSLCertificateFile {{ openldap_tls_cert }} SSLCertificateKeyFile {{ openldap_tls_key }} SSLProtocol all -SSLv2 -SSLv3 SSLCipherSuite !kRSA:!3DES:!RC4:!DES:!MD5:!aNULL:!NULL:AESGCM+ECDH:AES256+ECDH:AES128:+SHA1; SSLHonorCipherOrder on Loading