mirror of
https://github.com/willshersystems/ansible-sshd
synced 2024-11-08 12:53:29 +01:00
793cca4c97
Signed-off-by: Jakub Jelen <jjelen@redhat.com>
34 lines
983 B
YAML
34 lines
983 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@v4
|
|
|
|
- name: ansible check with ubuntu:latest
|
|
uses: roles-ansible/check-ansible-ubuntu-latest-action@master
|
|
with:
|
|
group: local
|
|
hosts: localhost
|
|
targets: "tests/tests_*.yml"
|
|
requirements: tests/requirements.yml
|
|
|
|
ubuntu-20:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
# Important: This sets up your GITHUB_WORKSPACE environment variable
|
|
- name: checkout PR
|
|
uses: actions/checkout@v4
|
|
|
|
- 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"
|
|
requirements: tests/requirements.yml
|