feat: update conf #13
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 lint | |
on: | |
push: | |
jobs: | |
build: | |
runs-on: ubuntu-22.04 | |
strategy: | |
max-parallel: 2 | |
matrix: | |
python-version: [3.7, 3.10] | |
ansible-version: [2.10] | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Set up Python ${{ matrix.python-version }} | |
uses: actions/setup-python@v2 | |
with: | |
python-version: ${{ matrix.python-version }} | |
- name: Install Ansible ${{ matrix.ansible-version }} | |
run: | | |
python -m pip install --upgrade pip | |
pip install ansible-lint ansible==${{ matrix.ansible-version }} | |
- name: Lint playbook | |
run: | | |
ansible-playbook --syntax-check */playbook.yml |