2022-05-02 16:48:09 +02:00
|
|
|
name: Run Ansible Check on Ubuntu
|
2020-11-23 10:02:58 +01:00
|
|
|
|
|
|
|
on: [push, pull_request]
|
|
|
|
|
|
|
|
jobs:
|
2022-05-02 16:48:09 +02:00
|
|
|
ubuntu-latest:
|
2020-11-23 10:02:58 +01:00
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
2021-04-07 20:12:03 +02:00
|
|
|
# Important: This sets up your GITHUB_WORKSPACE environment variable
|
|
|
|
- name: checkout PR
|
|
|
|
uses: actions/checkout@v2
|
2020-11-23 10:02:58 +01:00
|
|
|
|
2021-04-07 20:12:03 +02:00
|
|
|
- name: ansible check with ubuntu:latest
|
2022-05-02 16:42:18 +02:00
|
|
|
uses: Jakuje/check-ansible-ubuntu-latest-action@patch-1
|
2021-04-07 20:12:03 +02:00
|
|
|
with:
|
|
|
|
group: local
|
|
|
|
hosts: localhost
|
2021-11-10 09:50:43 +01:00
|
|
|
targets: "tests/tests_*.yml"
|
2022-05-02 16:48:09 +02:00
|
|
|
|
|
|
|
ubuntu-20:
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
|
|
# Important: This sets up your GITHUB_WORKSPACE environment variable
|
|
|
|
- name: checkout PR
|
|
|
|
uses: actions/checkout@v2
|
|
|
|
|
|
|
|
- name: ansible check with ubuntu:20 (focal)
|
2022-05-02 16:42:18 +02:00
|
|
|
uses: Jakuje/check-ansible-ubuntu-focal-action@patch-1
|
2022-05-02 16:48:09 +02:00
|
|
|
with:
|
|
|
|
group: local
|
|
|
|
hosts: localhost
|
|
|
|
targets: "tests/tests_*.yml"
|