Add ensure-pip to python release pre-run playbook
This is required in order to avoid this error: ModuleNotFoundError: No module named 'setuptools' The version of ansible-lint we were using has a bug which causes a false positive on ensure-pip, so we update the ansible-lint version to match that in zuul-jobs and update the skips accordingly. This also flags lack of spaces in {{braces}} so those instances are fixed. Change-Id: I9d122631126ab65507f0a5616ff6741066a7acf8
This commit is contained in:
parent
808478ad2c
commit
11e51443b7
@ -3,3 +3,6 @@ parseable: true
|
|||||||
skip_list:
|
skip_list:
|
||||||
# [ANSIBLE0012] Commands should not change things if nothing needs doing
|
# [ANSIBLE0012] Commands should not change things if nothing needs doing
|
||||||
- ANSIBLE0012
|
- ANSIBLE0012
|
||||||
|
- '106' # Role name does not match ``^[a-z][a-z0-9_]+$`` pattern
|
||||||
|
- '204' # Lines should be no longer than 160 chars
|
||||||
|
- '701' # No 'galaxy_info' found
|
||||||
|
@ -1,3 +1,4 @@
|
|||||||
- hosts: all
|
- hosts: all
|
||||||
roles:
|
roles:
|
||||||
- bindep
|
- bindep
|
||||||
|
- ensure-pip
|
||||||
|
@ -13,7 +13,7 @@ zuul
|
|||||||
# ansible-lint pull in the latest version.
|
# ansible-lint pull in the latest version.
|
||||||
ansible>=2.5.1,<2.6 # https://review.openstack.org/567007
|
ansible>=2.5.1,<2.6 # https://review.openstack.org/567007
|
||||||
# We need to pin ansible-lint to before 4.0 which blows up all over the place
|
# We need to pin ansible-lint to before 4.0 which blows up all over the place
|
||||||
ansible-lint<4
|
ansible-lint>=4.3.0a1,<5
|
||||||
bashate>=0.2
|
bashate>=0.2
|
||||||
zuul-sphinx>=0.1.1
|
zuul-sphinx>=0.1.1
|
||||||
stestr>=1.0.0 # Apache-2.0
|
stestr>=1.0.0 # Apache-2.0
|
||||||
|
Loading…
x
Reference in New Issue
Block a user