Skip to content

reduce ansible-lint skip list #1296

@evgeni

Description

@evgeni

we currently have the following checks skipped, should revisit that as we go:

  • command-instead-of-module # Using command rather than module
  • command-instead-of-shell # Use shell only when shell functionality is required
  • experimental # all rules tagged as experimental
  • git-latest # Git checkouts must contain explicit version
  • meta-no-info # meta/main.yml should contain relevant info
  • no-changed-when # Commands should not change things if nothing needs doing
  • no-handler # Tasks that run when changed should likely be handlers
  • package-latest # Package installs should not use latest
  • experimental

#1298 handles:

  • deprecated-command-syntax # Using command rather than an argument to e.g. file
  • deprecated-local-action # Do not use 'local_action', use 'delegate_to: localhost'
  • literal-compare # Don't compare to literal True/False
  • empty-string-compare # Don't compare to empty string
  • no-jinja-when # No Jinja2 in when
  • no-relative-paths # Doesn't need a relative path in role
  • risky-shell-pipe # Shells that use pipes should set the pipefail option

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions