2020-03-29 15:44:28 +02:00
|
|
|
name: Ansible Lint # feel free to pick your own name
|
|
|
|
|
|
|
|
on: [push, pull_request]
|
|
|
|
|
|
|
|
jobs:
|
2020-04-04 09:41:01 +02:00
|
|
|
test-ansible28:
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
|
|
- uses: actions/checkout@v2
|
|
|
|
- name: Lint Ansible Playbook
|
|
|
|
uses: ansible/ansible-lint-action@master
|
|
|
|
with:
|
2020-09-17 14:48:41 +02:00
|
|
|
targets: "tests/test_*.yml"
|
2020-04-04 09:41:01 +02:00
|
|
|
override-deps: |
|
|
|
|
ansible==2.8
|
|
|
|
args: ""
|
|
|
|
test-ansible29:
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
|
|
- uses: actions/checkout@v2
|
|
|
|
- name: Lint Ansible Playbook
|
|
|
|
uses: ansible/ansible-lint-action@master
|
|
|
|
with:
|
2020-09-17 14:48:41 +02:00
|
|
|
targets: "tests/test_*.yml"
|
2020-04-04 09:41:01 +02:00
|
|
|
override-deps: |
|
|
|
|
ansible==2.9
|
|
|
|
args: ""
|
|
|
|
test-ansible210:
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
|
|
- uses: actions/checkout@v2
|
|
|
|
- name: Lint Ansible Playbook
|
|
|
|
uses: ansible/ansible-lint-action@master
|
|
|
|
with:
|
2020-09-17 14:48:41 +02:00
|
|
|
targets: "tests/test_*.yml"
|
2020-04-04 09:41:01 +02:00
|
|
|
override-deps: |
|
|
|
|
ansible==2.10
|
2020-03-29 15:44:28 +02:00
|
|
|
args: ""
|