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:
|
2020-09-14 17:48:04 +02:00
|
|
|
- uses: actions/checkout@v2
|
|
|
|
- name: Lint Ansible Playbook
|
|
|
|
uses: ansible/ansible-lint-action@master
|
|
|
|
with:
|
2020-09-23 22:25:10 +02:00
|
|
|
targets: "tests/test_*.yml"
|
2020-09-14 17:48:04 +02:00
|
|
|
override-deps: |
|
|
|
|
ansible==2.8
|
|
|
|
args: ""
|
2020-04-04 09:41:01 +02:00
|
|
|
test-ansible29:
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
2020-09-14 17:48:04 +02:00
|
|
|
- uses: actions/checkout@v2
|
|
|
|
- name: Lint Ansible Playbook
|
|
|
|
uses: ansible/ansible-lint-action@master
|
|
|
|
with:
|
2020-09-23 22:25:10 +02:00
|
|
|
targets: "tests/test_*.yml
|
2020-09-14 17:48:04 +02:00
|
|
|
override-deps: |
|
|
|
|
ansible==2.9
|
|
|
|
args: ""
|
2020-04-04 09:41:01 +02:00
|
|
|
test-ansible210:
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
2020-09-14 17:48:04 +02:00
|
|
|
- uses: actions/checkout@v2
|
|
|
|
- name: Lint Ansible Playbook
|
|
|
|
uses: ansible/ansible-lint-action@master
|
|
|
|
with:
|
2020-09-23 22:25:10 +02:00
|
|
|
targets: "tests/test_*.yml"
|
2020-09-14 17:48:04 +02:00
|
|
|
override-deps: |
|
|
|
|
ansible==2.10
|
|
|
|
args: ""
|
2020-09-23 22:25:10 +02:00
|
|
|
|