Skip to content

DNM: Fixing GH actions. #453

DNM: Fixing GH actions.

DNM: Fixing GH actions. #453

Workflow file for this run

name: Ansible Lint
on:
pull_request:
paths:
- playbooks/**.yaml
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: checks-out the repository under $GITHUB_WORKSPACE
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: "3.x"
- name: Install ansible-lint
run: python3 -m pip install ansible-dev-tools --user
- name: Install dependency
run: ansible-galaxy collection install ansible.posix
- name: Run lint
run: ansible-lint -c .ansible-lint playbooks/**