mirror of
https://github.com/trailofbits/algo.git
synced 2025-09-23 04:13:20 +02:00
* Apply ansible-lint improvements with light touch - Fix syntax errors in playbooks by properly structuring them - Fix YAML indentation in cloud-init base.yml - Update ansible-lint configuration to be stricter but reasonable - Add requirements.yml for Ansible collections - Skip role-name rule for now due to many cloud-* roles * Fix playbook syntax errors - proper task-only structure - Reverted playbook structure since these files are imported as tasks - Fixed indentation issues throughout cloud-pre.yml and cloud-post.yml - Aligned module parameters and when clauses properly - Removed FQCN for now to keep changes minimal * Fix final YAML indentation and formatting issues - Fixed cloud-post.yml indentation (8 spaces to 4) - Added newline at end of requirements.yml - All syntax checks now pass
37 lines
1.1 KiB
YAML
37 lines
1.1 KiB
YAML
# Ansible-lint configuration
|
|
exclude_paths:
|
|
- .cache/
|
|
- .github/
|
|
- tests/legacy-lxd/
|
|
- tests/
|
|
|
|
skip_list:
|
|
- 'package-latest' # Package installs should not use latest - needed for updates
|
|
- 'experimental' # Experimental rules
|
|
- 'fqcn[action]' # Use FQCN for module actions - gradual migration
|
|
- 'fqcn[action-core]' # Use FQCN for builtin actions - gradual migration
|
|
- 'var-naming[no-role-prefix]' # Variable naming
|
|
- 'var-naming[pattern]' # Variable naming patterns
|
|
- 'no-free-form' # Avoid free-form syntax - some legacy usage
|
|
- 'key-order[task]' # Task key order
|
|
- 'jinja[spacing]' # Jinja2 spacing
|
|
- 'name[casing]' # Name casing
|
|
- 'yaml[document-start]' # YAML document start
|
|
- 'role-name' # Role naming convention - too many cloud-* roles
|
|
- 'no-handler' # Handler usage - some legitimate non-handler use cases
|
|
|
|
warn_list:
|
|
- no-changed-when
|
|
- yaml[line-length]
|
|
- risky-file-permissions
|
|
- name[missing]
|
|
|
|
# Enable additional rules
|
|
enable_list:
|
|
- no-log-password
|
|
- no-same-owner
|
|
- partial-become
|
|
|
|
verbosity: 1
|
|
|
|
# vim: ft=yaml
|