You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Only ansible-lint clean collections can be imported into Ansible Galaxy.
37
+
Only ansible-lint clean collections can be imported into Ansible Galaxy. To avoid errors we recommend installing and using [pre-commit](__install_pre_commit.md).
38
38
39
-
- Always install and use the latest version of ansible-lint. As of 02-Dec-2021, it's ansible-lint-5.3.0. Install with:
39
+
Then the linting files `.ansible-lint` and `.yamllint.yml` are automatically maintained and installed by any `git clone` or `git pull` request.
40
+
The correct linting version is maintained by the `.pre-commit-config.yml` file.
41
+
42
+
If you do not want to use pre-commit follow this guideline:
43
+
44
+
45
+
- Always install and use the latest version of ansible-lint. You can find the latest release version [here](https://github.com/ansible-community/ansible-lint/releases/).
46
+
Install with:
40
47
```
41
48
# pip3 install ansible-lint --user
42
49
```
43
50
44
51
- Put the following two files in the home directory of each role:
0 commit comments