Skip to content

Commit c4af931

Browse files
jsf9kdav3r
andcommitted
Add a comment
The comment explains why ansible must be added as an additional dependency for the ansible-lint linter. Co-authored-by: dav3r <david.redmin@gwe.cisa.dhs.gov>
1 parent 53a6447 commit c4af931

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

.pre-commit-config.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -158,6 +158,11 @@ repos:
158158
hooks:
159159
- id: ansible-lint
160160
additional_dependencies:
161+
# For some reason ansible-lint does not know about the
162+
# existence of ansible.posix.mount unless ansible itself is
163+
# added as an extra dependency. I (jsf9k) believe this is
164+
# because ansible is not installed when ansible-lint is
165+
# installed.
161166
- ansible
162167
# files: molecule/default/playbook.yml
163168

0 commit comments

Comments
 (0)