From 3f5f7d944c94a24b1410217c7651e588817e0d81 Mon Sep 17 00:00:00 2001 From: Mischa ter Smitten Date: Wed, 19 Apr 2023 17:25:50 +0200 Subject: [PATCH] Improved ignore --- .ansible-lint | 3 ++- .github/workflows/ci.yml | 9 ++++----- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.ansible-lint b/.ansible-lint index ad32a73..6e03ce5 100644 --- a/.ansible-lint +++ b/.ansible-lint @@ -1,5 +1,6 @@ --- warn_list: - role-name + - name[play] - name[casing] - - '503' + - no-handler diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index b7d526c..1f7278a 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -23,7 +23,9 @@ jobs: python-version: '3.x' - name: Install test dependencies - run: pip install ansible-lint[community,yamllint] + run: | + pip install ansible-lint + ansible-galaxy install -r requirements.yml - name: Lint code run: | @@ -43,11 +45,8 @@ jobs: matrix: include: - distro: debian8 - ansible-version: '<2.10' - distro: debian9 - distro: debian10 - - distro: ubuntu1604 - ansible-version: '>=2.9, <2.10' - distro: ubuntu1604 ansible-version: '>=2.10, <2.11' - distro: ubuntu1604 @@ -73,7 +72,7 @@ jobs: molecule test env: ANSIBLE_FORCE_COLOR: '1' - ANSIBLE_VERBOSITY: '3' + ANSIBLE_VERBOSITY: '2' MOLECULE_DEBUG: '1' MOLECULE_DISTRO: "${{ matrix.distro }}" PY_COLORS: '1'