diff options
author | 2022-01-10 16:59:42 +0000 | |
---|---|---|
committer | 2022-01-10 16:59:42 +0000 | |
commit | 931f807e10e970c6be6dd5da11042a020b61b4a3 (patch) | |
tree | 757fca036064edabcc7a53700d03ab191af3520c | |
parent | Update list syntax for common handlers (diff) |
Lint Ansible playbooks
-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 |