Skip to content
This repository was archived by the owner on May 23, 2024. It is now read-only.

Commit e2705a6

Browse files
Add folder molecule/ to ansible-lint call in molecule lint commands
* When providing . as the folder path of the lintables to ansible-lint it does not lint the folder molecule/default containing converge.yml, prepare.yml, verify.yml, hence folder molecule/ needs to be added to the ansible-lint call in the molecule lint commands.
1 parent b36613d commit e2705a6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

molecule/default/molecule.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ platforms:
1818
- /sys/fs/cgroup:/sys/fs/cgroup:ro
1919
lint: |
2020
yamllint --strict --format colored . &&
21-
ansible-lint -v --force-color --offline --exclude .pipenv/ .
21+
ansible-lint -v --force-color --offline --exclude .pipenv/ . molecule/
2222
provisioner:
2323
name: ansible
2424
playbooks:

0 commit comments

Comments
 (0)