Skip to content
This repository has been archived by the owner on Mar 17, 2023. It is now read-only.

Commit

Permalink
Install ansible-lint from pip
Browse files Browse the repository at this point in the history
  • Loading branch information
JimMadge committed May 4, 2021
1 parent 3730c64 commit 298e4b6
Showing 1 changed file with 12 additions and 4 deletions.
16 changes: 12 additions & 4 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,21 @@ jobs:
name: "Lint Ansible"
runs-on: ubuntu-latest

defaults:
run:
working-directory: ./ansible

steps:
- uses: actions/checkout@v2

- name: Lint Ansible Playbook
uses: ansible/[email protected]
with:
targets: "ansible/playbook.yaml"
- name: Setup Python
uses: actions/setup-python@v2

- name: Install ansible-lint
run: pip install "ansible-lint[community]"

- name: Lint Ansible
run: ansible-lint

yaml_lint:
name: "Lint YAML"
Expand Down

0 comments on commit 298e4b6

Please sign in to comment.