mirror of
https://github.com/willshersystems/ansible-sshd
synced 2024-11-08 12:53:29 +01:00
Add CentOS 6 to CI
This commit is contained in:
parent
2e3b3c0581
commit
d9e1934a83
1 changed files with 19 additions and 0 deletions
19
.github/workflows/ansible-centos6.yml
vendored
Normal file
19
.github/workflows/ansible-centos6.yml
vendored
Normal file
|
@ -0,0 +1,19 @@
|
||||||
|
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/*.yml"
|
Loading…
Reference in a new issue