summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorwutianwei <wutianwei1@huawei.com>2017-12-05 11:32:35 +0800
committerwutianwei <wutianwei1@huawei.com>2017-12-05 11:32:35 +0800
commitdb18432af86badcac4d12066f0c2379b7857a165 (patch)
tree271c8dcbc468f7edcd7e2091686cdb0960a5b5b4
parent6867ed406e18cc5bdfdef4791af07b54736e8a7b (diff)
Fix the python-ldap version
when python-ldap is newest version, there are some issues in dependence Change-Id: I29f30900733cdd87d922b17da0f7c551b7cbdc90 Signed-off-by: wutianwei <wutianwei1@huawei.com>
-rwxr-xr-xdeploy/adapters/ansible/roles/config-osa/tasks/main.yml6
1 files changed, 6 insertions, 0 deletions
diff --git a/deploy/adapters/ansible/roles/config-osa/tasks/main.yml b/deploy/adapters/ansible/roles/config-osa/tasks/main.yml
index 2f6186fc..cdf11421 100755
--- a/deploy/adapters/ansible/roles/config-osa/tasks/main.yml
+++ b/deploy/adapters/ansible/roles/config-osa/tasks/main.yml
@@ -278,3 +278,9 @@
# 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'