aboutsummaryrefslogtreecommitdiffstats
path: root/deploy/adapters/ansible/roles/config-osa/tasks/fix_pip_version.yml
blob: 8ec28531a6d67fa307157eedf2d1eda4c3407237 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
# #############################################################################
# Copyright (c) 2017 HUAWEI TECHNOLOGIES CO.,LTD and others.
#
# All rights reserved. This program and the accompanying materials
# are made available under the terms of the Apache License, Version 2.0
# which accompanies this distribution, and is available at
# http://www.apache.org/licenses/LICENSE-2.0
# #############################################################################
---
- name: copy the repo_fix_andas.yml
  template:
    src: repo_fix_pandas.yml
    dest: /etc/ansible/roles/repo_build/tasks/repo_fix_pandas.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'

- name: add pbr in gnocchi requires pip packages
  lineinfile:
    dest: /etc/ansible/roles/repo_build/defaults/main.yml
    insertafter: "repo_pip_packages:"
    line: '  - pbr'