From ee85d7d93f247366ac6823795e1e130c7d455dc3 Mon Sep 17 00:00:00 2001 From: Tobias Richter Date: Wed, 25 Nov 2020 17:08:14 +0100 Subject: [PATCH] Use ansible-lint 4.2.x for Ansible 2.7 tests --- .travis.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index 2d5eb11..00bccb2 100644 --- a/.travis.yml +++ b/.travis.yml @@ -6,7 +6,7 @@ env: # run against latest version - ANSIBLE_VERSION=latest # run against minimal required version - - ANSIBLE_VERSION=2.7.* + - ANSIBLE_VERSION=2.7.* ANSIBLE_LINT_VERSION=4.2.* # Use the new container infrastructure sudo: false @@ -19,7 +19,7 @@ addons: install: # Install ansible and dependencies - - if [ "$ANSIBLE_VERSION" = "latest" ]; then pip install ansible ansible-lint --upgrade; else pip install ansible=="$ANSIBLE_VERSION" ansible-lint --upgrade; fi + - if [ "$ANSIBLE_VERSION" = "latest" ]; then pip install ansible ansible-lint --upgrade; else pip install ansible=="$ANSIBLE_VERSION" ansible-lint=="$ANSIBLE_LINT_VERSION" --upgrade; fi # Check ansible version - ansible --version