DeepSourceDeepSource
AgentsDirectoryCustomersPricingDocs
Log in Sign up Contact Sales
  1. Directory
  2. Analyzers
Python JavaScript Java Go C# Ansible AWS CloudFormation Linter C & C++ Dart Analyze Docker Kotlin KubeLinter PHP Ruby Rust Scala Secrets Shell Slither Solhint SQL Swift Terraform Test coverage
Package installs should not use `latest`ANS-E4003`become_user` requires `become` to work as expectedANS-E5001Shells that use pipes should set the `pipefail` optionANS-E3006Use `command` instead of `shell`ANS-E3005Commands should not change things if nothing needs to be doneANS-E3001Should not use `command` instead of arguments to modulesANS-E3002Environment variables don't work as part of commandANS-E3004Use `module` instead of `command`ANS-E3003Relative path is not needed in roleANS-E4004Mercurial checkouts should have explicit revisionANS-E4002Git checkouts must contain explicit versionANS-E4001Found key duplicationANS-E9002Failed to parse the YAML fileANS-E9001Replace `local_action` with `delegate_to: localhost`ANS-E5004All tasks should be named uniquelyANS-E5002Referenced files must existANS-E5005Tasks that run when changed should likely be handlersANS-E5003
Ansible logoAnsible/
ANS-E5002

All tasks should be named uniquelyANS-E5002

Minor severityMinor
Anti-pattern categoryAnti-pattern

Task names are optional, but extremely useful. In its output, Ansible shows you the name of each task it runs. Choosing names that describe what each task does and why improves readability. It also enables the usage of --start-at-task.

Footer

SOC 2 TYPE II CERTIFIED • SOC 2 TYPE II CERTIFIED • SOC 2 TYPE II CERTIFIED • SOC 2 TYPE II CERTIFIED •
SOC 2 Type II Badge
DeepSource

Product

  • Agentsnew
  • SAST
  • SCAnew
  • Code Quality
  • IaC Security
  • Code Coverage
  • Autofix™ AI
  • Pricing
  • Directory
  • Open Source

    • Globstar

Resources

  • Documentation
  • Blog
  • Changelog
  • Customers
  • Glossary
  • Product Demo
  • Terms of Service
  • Privacy Policy
  • Acceptable Use Policy
  • Pilot Evaluation Agreement

Compare

  • vs. SonarQube
  • vs. Checkmarx
  • vs. Veracode
  • vs. Snyk
  • vs. Semgrep
  • vs. Code Climate
  • vs. Codacy

Company

  • System Status
  • About
  • Contact Sales
  • Community
  • Trust Center
  • Careers

© 2025 DeepSource Corp. All rights reserved.

XGitHubYouTube