Skip to content

Updated to use command module instead of shell #7

Updated to use command module instead of shell

Updated to use command module instead of shell #7

Workflow file for this run

---
name: Ansible Lint
'on':
push:
pull_request:
workflow_dispatch:
jobs:
lint:
runs-on: ubuntu-latest
env:
PYTHON_VERSION: "3.12"
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: ${{ env.PYTHON_VERSION }}
- run: |
python3 -m pip install pip
pip3 install yamllint
- run: yamllint .
- run: pip3 install ansible ansible-lint
- run: ansible-lint .