Skip to content
Snippets Groups Projects
Select Git revision
  • 2d079c8eecdba1ace441eb2ad8da07eed441e1d1
  • 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
      306522ac
      upstream CI: Disable ansible-lint var-naming check · 306522ac
      Rafael Guterres Jeffman authored
      Latest ansible-lint version (6.16.1) started to raise an error when
      variable names from within roles are not prefixed with  the role name.
      Error: var-naming[no-role-prefix].
      
      As Ansible sanity check does not enforce this, it will be disabled, for
      now on ansible-freeipa's upstream CI.
      
      A future effort to reduce the checks that are not being evaluated should
      be done as preparation for future Ansible Galaxy and Automation Hub
      requirements.
      306522ac
      History
      upstream CI: Disable ansible-lint var-naming check
      Rafael Guterres Jeffman authored
      Latest ansible-lint version (6.16.1) started to raise an error when
      variable names from within roles are not prefixed with  the role name.
      Error: var-naming[no-role-prefix].
      
      As Ansible sanity check does not enforce this, it will be disabled, for
      now on ansible-freeipa's upstream CI.
      
      A future effort to reduce the checks that are not being evaluated should
      be done as preparation for future Ansible Galaxy and Automation Hub
      requirements.
    .ansible-lint 1.19 KiB
    ---
    exclude_paths:
      - .ansible-freeipa-tests/
      - .cache/
      - .github/
      - .pre-commit-config.yaml
      - .tox/
      - .venv/
      - .yamllint
      - molecule/
      - tests/azure/
      - meta/runtime.yml
      - requirements-docker.yml
      - requirements-podman.yml
    
    kinds:
      - playbook: '**/tests/**/test_*.yml'
      - playbook: '**/playbooks/**/*.yml'
      - playbook: '**/tests/ca-less/install_*_without_ca.yml'
      - playbook: '**/tests/ca-less/clean_up_certificates.yml'
      - playbook: '**/tests/external-signed-ca-with-automatic-copy/install-server-with-external-ca-with-automatic-copy.yml'
      - playbook: '**/tests/external-signed-ca-with-manual-copy/install-server-with-external-ca-with-manual-copy.yml'
      - playbook: '**/tests/user/create_users_json.yml'
      - tasks: '**/tasks_*.yml'
      - tasks: '**/env_*.yml'
    
    parseable: true
    
    quiet: false
    
    skip_list:
      - '301'  # Commands should not change things if nothing needs doing'
      - '305'  # Use shell only when shell functionality is required
      - '306'  # risky-shell-pipe
      - yaml   # yamllint should be executed separately.
      - experimental   # Do not run any experimental tests
      - name[template] # Allow Jinja templating inside task names
      - var-naming
    
    use_default_rules: true
    
    verbosity: 1