Ansible Lint Setup¶
- Install python with pip
- Use pyenv to install python:
pyenv install 3.13
- Set the python as global:
pyenv global 3.13
- Use pyenv to install python:
- Install lint:
pip3 install ansible-dev-tools
If you are using VSCode, you can use the official RedHat plugin to leverage the linting ability of the tool.