ansible-sshd/.github/workflows/ansible-centos6.yml

20 lines
513 B
YAML
Raw Normal View History

2020-11-11 12:33:02 +01:00
name: Run tests on CentOS 6
on: [push, pull_request]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
# Workaround missing support for end_host in old ansible
- run: "sed -i -e 's/meta: end_host/assert:\\n that: __sshd_os_supported|bool/' tasks/install.yml"
- name: ansible check with centos:6
uses: roles-ansible/check-ansible-centos-centos6-action@master
with:
group: local
hosts: localhost
targets: "tests/tests_*.yml"