Update ansible and ansible-lint for tests

Update to ansible 2.7 as this is the default for Zuul.
Update to ansible-lint 4, it finds no new issues.

Add tests/inventory, it is referenced in tox.ini but not part of the
tree and used by linting - and ansible-lint complains about it.

Change-Id: I6427bc51ebeb51621b67c6773a01e2042972bc1b
This commit is contained in:
Andreas Jaeger 2019-08-09 08:27:59 +02:00
parent 4c7aa7ea35
commit 0cbaa42788
2 changed files with 5 additions and 3 deletions

View File

@ -3,10 +3,10 @@
# process, which may cause wedges in the gate later.
flake8
# We need to pin Ansible to <2.6 until Zuul supports it, otherwise ansible-lint
# Pin Ansible to 2.7 as default ansible version, otherwise ansible-lint
# picks the latest version which is not known to work yet.
ansible>=2.5.1,<2.6
ansible-lint<4
ansible>=2.7.0,<2.8
ansible-lint<5
hacking>=1.1.0,<2.0.0
bashate>=0.2
zuul-sphinx>=0.1.1

2
tests/inventory Normal file
View File

@ -0,0 +1,2 @@
[all]
localhost