]> git.immae.eu Git - github/fretlink/ansible-rundeck-jobs.git/commitdiff
Add ansible-lint 16/head
authorGaëtan Duchaussois <gaetan.duchaussois@fretlink.com>
Thu, 25 Nov 2021 10:39:59 +0000 (11:39 +0100)
committerGaëtan Duchaussois <gaetan.duchaussois@fretlink.com>
Thu, 25 Nov 2021 10:47:22 +0000 (11:47 +0100)
.github/workflows/pr.yml

index 8370128fca0f306750d2d7d4f915d121412970b4..2e80846ebddd3232c73cc66aee018617a74fd046 100644 (file)
@@ -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