diff options
Diffstat (limited to 'tools')
-rw-r--r-- | tools/playbooks/common/install_dependencies.yaml | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/tools/playbooks/common/install_dependencies.yaml b/tools/playbooks/common/install_dependencies.yaml index 714ddf50d..6e2693a27 100644 --- a/tools/playbooks/common/install_dependencies.yaml +++ b/tools/playbooks/common/install_dependencies.yaml @@ -43,3 +43,12 @@ # For some reason, pip on py2 isn't smart enough to prevent us # trying to install a too-new mock?? - 'mock<4' + + - name: install PasteDeploy - CentOS 7 + pip: name={{ item }} state=present extra_args='--upgrade' + with_items: + # py2_constraints isn't obeyed by pip install swift + - 'PasteDeploy==2.1.1' + when: + - ansible_facts['distribution'] == "CentOS" + - ansible_facts['distribution_major_version'] == "7" |