commented out ldap links
diff --git a/defaults/main.yml b/defaults/main.yml index a166660..6e35226 100644 --- a/defaults/main.yml +++ b/defaults/main.yml
@@ -5,7 +5,6 @@ - openldap-clients - openldap-servers - openldap_2_4_40: - openldap-2.4.40 - openldap-clients-2.4.40
diff --git a/tasks/with_no_proxy.yml b/tasks/with_no_proxy.yml index 54b180f..dfb15c5 100644 --- a/tasks/with_no_proxy.yml +++ b/tasks/with_no_proxy.yml
@@ -12,16 +12,16 @@ become: yes shell: "yum downgrade -y {{ openldap_2_4_40 | join(' ') }}" -# - name: Update LDAP dependent libraries -# file: -# force: yes -# state: link -# src: "{{ item.src }}" -# path: "{{ item.path }}" -# with_items: -# - { src: "/lib64/liblber-2.4.so.2.10.3", path: "/lib64/liblber-2.4.so.2" } -# - { src: "/lib64/libslapi-2.4.so.2.10.3", path: "/lib64/libslapi-2.4.so.2" } -# - { src: "/lib64/libldap_r-2.4.so.2.10.3", path: "/lib64/libldap_r-2.4.so.2" } + - name: Update LDAP dependent libraries + file: + force: yes + state: link + src: "{{ item.src }}" + path: "{{ item.path }}" + with_items: + - { src: "/lib64/liblber-2.4.so.2.10.3", path: "/lib64/liblber-2.4.so.2" } + - { src: "/lib64/libslapi-2.4.so.2.10.3", path: "/lib64/libslapi-2.4.so.2" } + - { src: "/lib64/libldap_r-2.4.so.2.10.3", path: "/lib64/libldap_r-2.4.so.2" } rescue: - block: @@ -32,6 +32,17 @@ state: present with_items: "{{ openldap_2_4_40 }}" + - name: Update LDAP dependent libraries + file: + force: yes + state: link + src: "{{ item.src }}" + path: "{{ item.path }}" + with_items: + - { src: "/lib64/liblber-2.4.so.2.10.3", path: "/lib64/liblber-2.4.so.2" } + - { src: "/lib64/libslapi-2.4.so.2.10.3", path: "/lib64/libslapi-2.4.so.2" } + - { src: "/lib64/libldap_r-2.4.so.2.10.3", path: "/lib64/libldap_r-2.4.so.2" } + rescue: - name: Download openldap manually, may need to change the link shell: "yum downgrade -y {{ openldap_manual_download | join(' ') }}"