Loading tasks/main.yml +3 −8 Changes for tasks/main.yml: 3 added lines, 8 removed lines. Original line number Diff line number Diff line Loading @@ -58,14 +58,9 @@ - name: Set default ldap client settings lineinfile: dest: /etc/ldap/ldap.conf line: '{{ item.line }}' regexp: '{{ item.regexp }}' state: present with_items: - line: 'BASE {{ openldap_basedn }}' regexp: '^BASE' - line: 'URI ldap://localhost' line: 'URI ldapi:///' regexp: '^URI' state: present - name: Generate LDAPS configuration template: Loading @@ -78,7 +73,7 @@ - name: Apply LDAPS Configuration when: ldaps_template.changed command: /usr/bin/ldapmodify -d1 -Y EXTERNAL -H ldapi:/// -f /root/ldaps.ldif command: /usr/bin/ldapmodify -v -d1 -Y EXTERNAL -f /root/ldaps.ldif notify: - Restart OpenLDAP Loading Loading
tasks/main.yml +3 −8 Changes for tasks/main.yml: 3 added lines, 8 removed lines. Original line number Diff line number Diff line Loading @@ -58,14 +58,9 @@ - name: Set default ldap client settings lineinfile: dest: /etc/ldap/ldap.conf line: '{{ item.line }}' regexp: '{{ item.regexp }}' state: present with_items: - line: 'BASE {{ openldap_basedn }}' regexp: '^BASE' - line: 'URI ldap://localhost' line: 'URI ldapi:///' regexp: '^URI' state: present - name: Generate LDAPS configuration template: Loading @@ -78,7 +73,7 @@ - name: Apply LDAPS Configuration when: ldaps_template.changed command: /usr/bin/ldapmodify -d1 -Y EXTERNAL -H ldapi:/// -f /root/ldaps.ldif command: /usr/bin/ldapmodify -v -d1 -Y EXTERNAL -f /root/ldaps.ldif notify: - Restart OpenLDAP Loading