From: Gaƫtan Duchaussois Date: Thu, 25 Nov 2021 10:39:59 +0000 (+0100) Subject: Add ansible-lint X-Git-Tag: v0.9~1^2 X-Git-Url: https://git.immae.eu/?a=commitdiff_plain;h=7e22b2dd6f8d4483e7007fe1430ed335360251f6;p=github%2Ffretlink%2Fansible-rundeck-jobs.git Add ansible-lint --- diff --git a/.github/workflows/pr.yml b/.github/workflows/pr.yml index 8370128..2e80846 100644 --- a/.github/workflows/pr.yml +++ b/.github/workflows/pr.yml @@ -28,6 +28,10 @@ jobs: - uses: actions/checkout@v2 with: path: "${{ github.repository }}" + - name: Lint Ansible Playbook + uses: ansible/ansible-lint-action@master + with: + targets: "${{ github.repository }}" - run: | sudo apt update && sudo apt install -y python3-pip pip3 install -r ${{ github.repository }}/requirements.txt