fix installation of virtualenv

Change-Id: I6a41410eba1a47f379e5c68f470261ca2639ac01
This commit is contained in:
Masco Kaliyamoorthy 2020-04-28 22:06:59 +05:30
parent d4d9b92d93
commit 8712f4c3be
2 changed files with 3 additions and 3 deletions

View File

@ -5,6 +5,7 @@ skip_list:
- '206' # [E206] Variables should have spaces before and after: {{ var_name }}
- '306'
- '405'
- '403'
- '503' # [E503] Tasks that run when changed should likely be handlers
- '504'
- '602' # [E602] Don't compare to empty string

View File

@ -48,13 +48,12 @@
- name: Update virtualenv and setuptools
pip:
name: "{{item.name}}"
version: "{{item.version}}"
state: latest
become: true
with_items:
- name: virtualenv
version: 15.2.0
- name: setuptools
version: 38.7.0
ignore_errors: True
when: ansible_user != "zuul" and ansible_distribution_major_version < '8'
- name: Install virtualenv and setuptools- zuul user