diff options
Diffstat (limited to '.github/workflows')
| -rw-r--r-- | .github/workflows/lint.yml | 21 | 
1 files changed, 21 insertions, 0 deletions
| diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml new file mode 100644 index 0000000..3fd52e7 --- /dev/null +++ b/.github/workflows/lint.yml @@ -0,0 +1,21 @@ +name: Lint Playbook + +on: +  push: +    branches: [ main ] +  pull_request: +    branches: [ main ] +  workflow_dispatch: + +jobs: +  lint: +    runs-on: ubuntu-latest + +    steps: +      - uses: actions/checkout@v2 + +      - name: Lint Ansible playbooks +        uses: ansible/ansible-lint-action@master +        with: +          targets: | +            playbook.yml | 
