Closed moueza closed 3 years ago
sudo docker run -h toolset -it quay.io/ansible/toolset ansible-lint /home/peter/POUB/webinaire-Red-Hat-Ansible/examplDoc.yaml
WARNING Overriding detected file kind 'yaml' with 'playbook' for given positional argument: /home/peter/POUB/webinaire-Red-Hat-Ansible/examplDoc.yaml WARNING Failed to discover yaml files to lint using git: fatal: not a git repository (or any of the parent directories): .git WARNING Listing 1 violation(s) that are fatal
pip install "ansible-lint[yamllint]"
https://ansible-lint.readthedocs.io/en/latest/installing.html
sudo docker run -h toolset -it quay.io/ansible/toolset ansible-lint --version