Skip to content
Snippets Groups Projects
Select Git revision
  • 3c666ccdaaddd62ec0c6e8788602ee0c100349cf
  • master default protected
  • v1.14.7
  • v1.14.6
  • v1.14.5
  • v1.14.4
  • v1.14.3
  • v1.14.2
  • v1.14.1
  • v1.14.0
  • v1.13.2
  • v1.13.1
  • v1.13.0
  • v1.12.1
  • v1.12.0
  • v1.11.1
  • v1.11.0
  • v1.10.0
  • v1.9.2
  • v1.9.1
  • v1.9.0
  • v1.8.4
22 results

.ansible-lint

Blame
    • Rafael Guterres Jeffman's avatar
      b8398c47
      Enable ansible-lint Github action on every push. · b8398c47
      Rafael Guterres Jeffman authored
      By running ansible-lint we check if playbooks provided in
      ansible-freipa follow Ansible's best practices, nd the verification
      will be performed on every push (even on forks) or pull-request.
      
      This patch provides the configuration needed to run ansible-lint
      to the playbooks found in the `tests`, `playbooks` and `molecule`
      directories, on every push or pull-request done on Github, using
      Ansible's Github Action ansible/ansible-lint-action.
      b8398c47
      History
      Enable ansible-lint Github action on every push.
      Rafael Guterres Jeffman authored
      By running ansible-lint we check if playbooks provided in
      ansible-freipa follow Ansible's best practices, nd the verification
      will be performed on every push (even on forks) or pull-request.
      
      This patch provides the configuration needed to run ansible-lint
      to the playbooks found in the `tests`, `playbooks` and `molecule`
      directories, on every push or pull-request done on Github, using
      Ansible's Github Action ansible/ansible-lint-action.
    .ansible-lint 613 B
    exclude_paths:
      - roles
      - .tox
      - .venv
    
    parseable: true
    
    quiet: false
    
    skip_list:
      - '201'  # Trailing whitespace
      - '204'  # Lines should be no longer than 160 chars
      - '206'  # Variables should have spaces before and after: {{ var_name }}'
      - '208'  # File permissions not mentioned
      - '301'  # Commands should not change things if nothing needs doing'
      - '305'  # Use shell only when shell functionality is required'
      - '306'  # Shells that use pipes should set the pipefail option'
      - '502'  # All tasks should be named
      - '505'  # Referenced missing file
    
    use_default_rules: true
    
    verbosity: 1