Skip to content
Snippets Groups Projects
Commit b0b0bd59 authored by Mark Goddard's avatar Mark Goddard
Browse files

Ansible lint: version constraints for pip and docker


Change-Id: Iede314c1a93b91bf14f0f8b9b8135f88a44e130c
Co-Authored-By: default avatarMarcin Juszkiewicz <marcin.juszkiewicz@linaro.org>
parent 10c16693
No related branches found
No related tags found
No related merge requests found
...@@ -120,8 +120,8 @@ ...@@ -120,8 +120,8 @@
- name: Install latest pip in the virtualenv - name: Install latest pip in the virtualenv
pip: pip:
name: pip # NOTE(hrw) pip 19.3 is first version complaining about being run with Python 2
state: latest name: pip>19.3
virtualenv: "{{ virtualenv }}" virtualenv: "{{ virtualenv }}"
virtualenv_site_packages: "{{ virtualenv_site_packages }}" virtualenv_site_packages: "{{ virtualenv_site_packages }}"
become: True become: True
...@@ -129,8 +129,8 @@ ...@@ -129,8 +129,8 @@
- name: Install docker SDK for python - name: Install docker SDK for python
pip: pip:
name: docker # NOTE(hrw) docker 2.4.2 is in kolla-ansible requirements
state: latest name: docker>=2.4.2
virtualenv: "{{ virtualenv is none | ternary(omit, virtualenv) }}" virtualenv: "{{ virtualenv is none | ternary(omit, virtualenv) }}"
virtualenv_site_packages: "{{ virtualenv is none | ternary(omit, virtualenv_site_packages) }}" virtualenv_site_packages: "{{ virtualenv is none | ternary(omit, virtualenv_site_packages) }}"
become: True become: True
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment