ci: bump ansible-lint to v25; provide collection requirements for ans… #125
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
name: Run Ansible Check on CentOS | |
on: [push, pull_request] | |
jobs: | |
centos-7: | |
runs-on: ubuntu-latest | |
steps: | |
- name: checkout PR | |
uses: actions/checkout@v4 | |
- run: "sed -i -e 's/ansible.posix.//g' */*.yml */*/*.yml" | |
- name: ansible check with centos 7 | |
uses: roles-ansible/check-ansible-centos-centos7-action@master | |
with: | |
group: local | |
hosts: localhost | |
targets: "tests/tests_*.yml" | |
centos-8: | |
runs-on: ubuntu-latest | |
steps: | |
- name: checkout PR | |
uses: actions/checkout@v4 | |
- name: ansible check with centos 8 | |
uses: roles-ansible/check-ansible-centos-centos8-action@master | |
with: | |
group: local | |
hosts: localhost | |
targets: "tests/tests_*.yml" | |
centos-9: | |
runs-on: ubuntu-latest | |
steps: | |
- name: checkout PR | |
uses: actions/checkout@v4 | |
- name: ansible check with centos 9 | |
uses: roles-ansible/check-ansible-centos-centos9-action@main | |
with: | |
group: local | |
hosts: localhost | |
targets: "tests/tests_*.yml" | |
centos-10: | |
runs-on: ubuntu-latest | |
steps: | |
- name: checkout PR | |
uses: actions/checkout@v4 | |
- name: ansible check with centos 10 | |
uses: roles-ansible/check-ansible-centos-centos10-action@main | |
with: | |
group: local | |
hosts: localhost | |
targets: "tests/tests_*.yml" |