mirror of
https://github.com/willshersystems/ansible-sshd
synced 2024-11-08 12:53:29 +01:00
CI: Unbreak the ansible-lint action
This commit is contained in:
parent
afcefb6442
commit
4b6332aaae
2 changed files with 7 additions and 33 deletions
|
@ -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
|
||||
- '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/
|
||||
|
|
35
.github/workflows/ansible-lint.yml
vendored
35
.github/workflows/ansible-lint.yml
vendored
|
@ -3,39 +3,10 @@ name: Ansible Lint # feel free to pick your own name
|
|||
on: [push, pull_request]
|
||||
|
||||
jobs:
|
||||
# test-ansible28:
|
||||
# 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:
|
||||
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.10
|
||||
args: ""
|
||||
- name: Lint Ansible playbook
|
||||
uses: ansible/ansible-lint-action@main
|
||||
|
|
Loading…
Reference in a new issue