add community.general collection #8
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: ansible playbook CI | |
on: | |
push: | |
branches: | |
- 'main' | |
- 'devel' | |
pull_request: | |
types: [opened, synchronize, reopened] | |
jobs: | |
lint: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Install ansible-lint | |
run: pip install ansible-lint | |
- name: Install Ansible Galaxy collections | |
run: ansible-galaxy install -r requirements.yml | |
- name: Check playbook correctness | |
run: ansible-lint playbook.yml |