diff options
author | Gaëtan Duchaussois <gaetan.duchaussois@fretlink.com> | 2021-11-25 11:39:59 +0100 |
---|---|---|
committer | Gaëtan Duchaussois <gaetan.duchaussois@fretlink.com> | 2021-11-25 11:47:22 +0100 |
commit | 7e22b2dd6f8d4483e7007fe1430ed335360251f6 (patch) | |
tree | e47681f0cfae40b36551a797fb48e95a1755c431 /.github/workflows/pr.yml | |
parent | f69666a4d9dc66d77a6d2ccdb59d7f947301bc01 (diff) | |
download | ansible-rundeck-jobs-7e22b2dd6f8d4483e7007fe1430ed335360251f6.tar.gz ansible-rundeck-jobs-7e22b2dd6f8d4483e7007fe1430ed335360251f6.tar.zst ansible-rundeck-jobs-7e22b2dd6f8d4483e7007fe1430ed335360251f6.zip |
Add ansible-lint
Diffstat (limited to '.github/workflows/pr.yml')
-rw-r--r-- | .github/workflows/pr.yml | 4 |
1 files changed, 4 insertions, 0 deletions
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: | |||
28 | - uses: actions/checkout@v2 | 28 | - uses: actions/checkout@v2 |
29 | with: | 29 | with: |
30 | path: "${{ github.repository }}" | 30 | path: "${{ github.repository }}" |
31 | - name: Lint Ansible Playbook | ||
32 | uses: ansible/ansible-lint-action@master | ||
33 | with: | ||
34 | targets: "${{ github.repository }}" | ||
31 | - run: | | 35 | - run: | |
32 | sudo apt update && sudo apt install -y python3-pip | 36 | sudo apt update && sudo apt install -y python3-pip |
33 | pip3 install -r ${{ github.repository }}/requirements.txt | 37 | pip3 install -r ${{ github.repository }}/requirements.txt |