Update for 2 regions with network timeout issue
diff --git a/tasks/with_no_proxy.yml b/tasks/with_no_proxy.yml
index f204166..ba6b955 100644
--- a/tasks/with_no_proxy.yml
+++ b/tasks/with_no_proxy.yml
@@ -12,6 +12,17 @@
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" }
+
rescue:
- name: Install because downgrade failure means the openldap packages are needed
become: yes
diff --git a/tasks/with_proxy.yml b/tasks/with_proxy.yml
index 986861c..91a0490 100644
--- a/tasks/with_proxy.yml
+++ b/tasks/with_proxy.yml
@@ -20,6 +20,21 @@
https_proxy: "{{ https_proxy }}"
no_proxy: "{{ no_proxy }}"
+ - 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" }
+ environment:
+ http_proxy: "{{ http_proxy }}"
+ https_proxy: "{{ https_proxy }}"
+ no_proxy: "{{ no_proxy }}"
+
rescue:
- name: Install because downgrade failure means the openldap packages are needed with proxy
become: yes