Skip to content

Commit 11eca90

Browse files
authored
Merge pull request #95 from cisagov/improvement/update_ansible-lint_configuration
Update `ansible-lint` Configuration
2 parents 115af25 + 6e652ec commit 11eca90

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

.ansible-lint

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,10 @@ exclude_paths:
1313
- .cache
1414
# Seems wise to ignore this too
1515
- .github
16-
# ansible-lint doesn't like the role name in this playbook, but it's
17-
# what molecule requires
18-
- molecule/default/converge.yml
19-
# These two are Molecule configuration files, not Ansible playbooks
20-
- molecule/default/molecule-no-systemd.yml
21-
- molecule/default/molecule-with-systemd.yml
16+
kinds:
17+
# This will force our systemd specific molecule configurations to be treated
18+
# as plain yaml files by ansible-lint. This mirrors the default kind
19+
# configuration in ansible-lint for molecule configurations:
20+
# yaml: "**/molecule/*/{base,molecule}.{yaml,yml}"
21+
- yaml: "**/molecule/*/molecule-{no,with}-systemd.yml"
2222
use_default_rules: true

0 commit comments

Comments
 (0)