ansible-sshd/.github/workflows/ansible-ubuntu.yml
Jakub Jelen fe69a54f4e CI: Add older Ubuntu versions to CI too
Signed-off-by: Jakub Jelen <jjelen@redhat.com>
2022-05-10 16:48:22 +02:00

32 lines
889 B
YAML

name: Run Ansible Check on Ubuntu
on: [push, pull_request]
jobs:
ubuntu-latest:
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:latest
uses: roles-ansible/check-ansible-ubuntu-latest-action@master
with:
group: local
hosts: localhost
targets: "tests/tests_*.yml"
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)
uses: roles-ansible/check-ansible-ubuntu-focal-action@master
with:
group: local
hosts: localhost
targets: "tests/tests_*.yml"