Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions .ansible-lint
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,10 @@

offline: true

# Mock collection roles so ansible-lint doesn't error on unresolved FQCNs
mock_roles:
- ctrliq.ascender.filetree_read

# Mock collection modules so ansible-lint doesn't error on unresolved FQCNs
mock_modules:
- ctrliq.ascender.ad_hoc_command
Expand Down Expand Up @@ -73,3 +77,4 @@ warn_list:
- no-changed-when
- command-instead-of-shell
- risky-shell-pipe
- args[module]
2 changes: 1 addition & 1 deletion .github/PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,6 @@

## Checklist
- [ ] Sanity tests pass (`ansible-test sanity`)
- [ ] Linting passes (`flake8`, `yamllint`)
- [ ] Linting passes (`ruff`, `yamllint`, `ansible-lint`)
- [ ] Changelog fragment added (if user-facing change)
- [ ] Documentation updated (if applicable)
5 changes: 5 additions & 0 deletions .yamllint
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,8 @@ rules:
allow-non-breakable-inline-mappings: true
truthy:
allowed-values: ['true', 'false', 'yes', 'no']
comments:
min-spaces-from-content: 1
octal-values:
forbid-implicit-octal: true
forbid-explicit-octal: true