diff --git a/.github/workflows/ansible-lint.yml b/.github/workflows/ansible-lint.yml new file mode 100644 index 00000000..7d3ecdd6 --- /dev/null +++ b/.github/workflows/ansible-lint.yml @@ -0,0 +1,22 @@ +--- +name: ansible-lint +on: + push: + branches: + - main + pull_request: + branches: + - main + +jobs: + build: + name: Ansible Lint + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + - name: Set up Python 3.x (latest) + uses: actions/setup-python@v2 + with: + python-version: 3.x + - name: Run ansible-lint + uses: ansible/ansible-lint@main