aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorwutianwei <wutianwei1@huawei.com>2017-12-05 11:32:35 +0800
committerYifei Xue <xueyifei@huawei.com>2017-12-05 12:30:06 +0000
commit2d9022a663ec99102c86a1c6efffe20b99495b02 (patch)
tree9510ca171f53e008d68a53cc89e0d441a404f4a3
parenta277f932e8b3c703736368e4c8b74ccd716aba7a (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> (cherry picked from commit db18432af86badcac4d12066f0c2379b7857a165)
-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 d96a83d..95bfbc0 100755
--- a/deploy/adapters/ansible/roles/config-osa/tasks/main.yml
+++ b/deploy/adapters/ansible/roles/config-osa/tasks/main.yml
@@ -277,3 +277,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'