CI: Unbreak the ansible-lint action

This commit is contained in:
Jakub Jelen 2022-04-06 16:23:23 +02:00 committed by Jakub Jelen
parent afcefb6442
commit 4b6332aaae
2 changed files with 7 additions and 33 deletions

View file

@ -1,3 +1,6 @@
warn_list: # or 'skip_list' to silence them completely warn_list: # or 'skip_list' to silence them completely
- '106' # Role name {} does not match ``^[a-z][a-z0-9_]+$`` pattern - '106' # Role name {} does not match ``^[a-z][a-z0-9_]+$`` pattern
- '306' # Shells that use pipes should set the pipefail option - '306' # Shells that use pipes should set the pipefail option
- 'fqcn-builtins' # this is not compatible with ansible 2.6 on RHEL6
exclude_paths:
- tests/roles/

View file

@ -3,39 +3,10 @@ name: Ansible Lint # feel free to pick your own name
on: [push, pull_request] on: [push, pull_request]
jobs: jobs:
# test-ansible28: ansible-lint:
# runs-on: ubuntu-latest
# steps:
# - name: checkout PR
# uses: actions/checkout@v2
# - name: Lint Ansible Playbook
# uses: ansible/ansible-lint-action@master
# with:
# targets: "tests/test_*.yml"
# override-deps: |
# ansible==2.9
# args: ""
# test-ansible29:
# runs-on: ubuntu-latest
# steps:
# - name: checkout PR
# uses: actions/checkout@v2
# - name: Lint Ansible Playbook
# uses: ansible/ansible-lint-action@master
# with:
# targets: "tests/test_*.yml"
# override-deps: |
# ansible==2.9
# args: ""
test-ansible210:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- name: checkout PR - name: checkout PR
uses: actions/checkout@v2 uses: actions/checkout@v2
- name: Lint Ansible Playbook - name: Lint Ansible playbook
uses: ansible/ansible-lint-action@master uses: ansible/ansible-lint-action@main
with:
targets: "tests/test_*.yml"
override-deps: |
ansible==2.10
args: ""