From a531d83bac3b9b23222ec895a0dc972fe3f37aee Mon Sep 17 00:00:00 2001 From: Ian Wienand Date: Thu, 5 Nov 2020 10:15:00 +1100 Subject: [PATCH] tox.ini : update Ansible pin ansible-lint is incompatible with Ansible 2.7 which is now causing failures. Update to current Zuul versions. Change-Id: I65878a896281ad67d512f0bd9219aa2058e4953a --- tox.ini | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/tox.ini b/tox.ini index ab4c0f28f3..5b52749eb0 100644 --- a/tox.ini +++ b/tox.ini @@ -26,9 +26,11 @@ setenv = # Add dependencies here since other jobs use python2 and zuul requires # python3. deps = - # Pin ansible to common version we use, otherwise ansible-lint - # would pull in latest version. - ansible>=2.7.0,<2.8 + # ansible-lint brings in the latest version of ansible, but we + # keep this in sync with what Zuul uses so we don't allow though + # things from a later ansible that would actually fail in + # production. + ansible>=2.8,<=2.9 ansible-lint>=4.2.0,<5 hacking>=2.0.0,<2.1.0 bashate>=0.2