Skip to content

chore(deps): update dependency community.general to v10.1.0 #245

chore(deps): update dependency community.general to v10.1.0

chore(deps): update dependency community.general to v10.1.0 #245

Workflow file for this run

---
name: Ansible
on: [push]
# From https://dev.to/koh_sh/automatic-ansible-lint-with-github-actions-52oe
jobs:
build:
runs-on: ubuntu-latest
strategy:
max-parallel: 4
matrix:
python-version: ['3.12']
ansible-version: [9.1.0]
steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@0b93645e9fea7318ecaed2b359559ac225c90a2b # v5
with:
python-version: ${{ matrix.python-version }}
- name: Install Ansible ${{ matrix.ansible-version }}
run: |
python -m pip install --upgrade pip
pip install yamllint ansible==${{ matrix.ansible-version }}
- name: Lint playbook
run: |
ansible-galaxy role install -r requirements.yml
ansible-galaxy collection install -r requirements.yml
ansible-playbook playbooks/dell/main.yaml --syntax-check
ansible-playbook playbooks/gop/main.yml --syntax-check
yamllint .