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
|
2023-09-05 14:23:27 +02:00
|
|
|
uses: actions/checkout@v4
|
2020-11-23 10:02:58 +01:00
|
|
|
|
2021-04-07 20:12:03 +02:00
|
|
|
- name: ansible check with ubuntu:latest
|
2022-05-19 09:49:42 +02:00
|
|
|
uses: roles-ansible/check-ansible-ubuntu-latest-action@master
|
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"
|
2024-01-22 16:35:45 +01:00
|
|
|
requirements: tests/requirements.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
|
2023-09-05 14:23:27 +02:00
|
|
|
uses: actions/checkout@v4
|
2022-05-02 16:48:09 +02:00
|
|
|
|
|
|
|
- name: ansible check with ubuntu:20 (focal)
|
2022-05-19 09:49:42 +02:00
|
|
|
uses: roles-ansible/check-ansible-ubuntu-focal-action@master
|
2022-05-02 16:48:09 +02:00
|
|
|
with:
|
|
|
|
group: local
|
|
|
|
hosts: localhost
|
|
|
|
targets: "tests/tests_*.yml"
|
2024-01-22 16:35:45 +01:00
|
|
|
requirements: tests/requirements.yml
|