Fix the python-ldap version 71/48371/2
authorwutianwei <wutianwei1@huawei.com>
Tue, 5 Dec 2017 03:32:35 +0000 (11:32 +0800)
committerYifei Xue <xueyifei@huawei.com>
Tue, 5 Dec 2017 12:30:06 +0000 (12:30 +0000)
when python-ldap is newest version, there are some issues in dependence

Change-Id: I29f30900733cdd87d922b17da0f7c551b7cbdc90
Signed-off-by: wutianwei <wutianwei1@huawei.com>
(cherry picked from commit db18432af86badcac4d12066f0c2379b7857a165)

deploy/adapters/ansible/roles/config-osa/tasks/main.yml

index d96a83d..95bfbc0 100755 (executable)
     line: "- include: repo_fix_pandas.yml"
 
 - include: meters.yml
+
+- name: fix the python-ldap version
+  lineinfile:
+    dest: /etc/ansible/roles/os_keystone/defaults/main.yml
+    regexp: '^  - python-ldap'
+    line: '  - python-ldap==2.5.2'