Files @ 796d87f58565
Branch filter:

Location: majic-ansible-roles/.yamllint.yml

branko
MAR-218: Fix the custom m_ldap_permissions module to work correctly with ansible-lint:

- In order for things to behave correctly, module should not invoke
the main part of code automatically during import, but only if run
via CLI.
- Without this the ansible-lint kept erroring out with:

"missing required arguments: filter, rules"
---

# Extended the default linter configuration.
extends: default

rules:
  # Increase line length limit.
  line-length:
    max: 160

  # Single spaces within braces (better readability).
  braces:
    min-spaces-inside: 1
    max-spaces-inside: 1
    min-spaces-inside-empty: 0
    max-spaces-inside-empty: 0