System configuration for OpenStack Infrastructure
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

40 lines
1.2KB

  1. parseable: true
  2. # ANSIBLE0010: Package installs should not use latest
  3. # We often deploy latest pip packages
  4. #
  5. # 204: Lines < 160
  6. # Things like keys, script lines, etc exceed this. We have good
  7. # taste and only use long lines where appropriate.
  8. #
  9. # 206: {{var}} should have spaces {{ var }}
  10. # This rule seems sane, but it appears there's no way to convince
  11. # ansible-lint perfectly good things that are *not* ansible (like
  12. # exim configs) in YAML shouldn't have to follow this rule. See
  13. # https://github.com/ansible/ansible-lint/issues/534; might be able
  14. # to turn on if fixed.
  15. #
  16. # 306: shells with pipes should use pipefail
  17. # This requires running the shell as /bin/bash. There is a small
  18. # possibility to hide errors, but we can rely on
  19. # developers to decide when to explicitly check for failures.
  20. #
  21. # 503: tasks that run when "changed" should likely be handlers
  22. # We can trust reviewers to decide if something should be a
  23. # generic handler or not.
  24. skip_list:
  25. - ANSIBLE0004
  26. - ANSIBLE0006
  27. - ANSIBLE0007
  28. - ANSIBLE0010
  29. - ANSIBLE0011
  30. - ANSIBLE0012
  31. - ANSIBLE0013
  32. - ANSIBLE0015
  33. - '204'
  34. - '206'
  35. - '304'
  36. - '306'
  37. - '503'
  38. use_default_rules: true
  39. verbosity: 1