Skip to content
Snippets Groups Projects
Select Git revision
  • e069395ba00a36cb3d5da0b9ddbd186a64af405c
  • 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
      e069395b
      Make ansible-lint and yamllint use more strict rules. · e069395b
      Rafael Guterres Jeffman authored
      This patch modifies configuration of both ansible-lint and yamllint
      to check for more rules, resulting in a more strict verification.
      
      For ansible-lint verification of errors 301, 305 and 505 are skipped,
      due to false positives. For the same reason, 'experimental' rules
      are skipped.
      
      ansible-lint error 306 is skipped since the fix is to set pipefail,
      which is not available in all shells (for example dash, which runs
      ansible-freeipa CI).
      
      Yamllint disabled rules (comments, and indentation) would introduce a
      huge amount of small changes, and are left for future changes, it
      deemed necessary.
      e069395b
      History
      Make ansible-lint and yamllint use more strict rules.
      Rafael Guterres Jeffman authored
      This patch modifies configuration of both ansible-lint and yamllint
      to check for more rules, resulting in a more strict verification.
      
      For ansible-lint verification of errors 301, 305 and 505 are skipped,
      due to false positives. For the same reason, 'experimental' rules
      are skipped.
      
      ansible-lint error 306 is skipped since the fix is to set pipefail,
      which is not available in all shells (for example dash, which runs
      ansible-freeipa CI).
      
      Yamllint disabled rules (comments, and indentation) would introduce a
      huge amount of small changes, and are left for future changes, it
      deemed necessary.
    ansible.cfg 871 B
    [ssh_connection]
    pipelining=True
    ssh_args = -o ControlMaster=auto -o ControlPersist=30m -o ConnectionAttempts=100 -o UserKnownHostsFile=/dev/null
    #control_path = ~/.ssh/ansible-%%r@%%h:%%p
    [defaults]
    strategy_plugins = plugins/mitogen/ansible_mitogen/plugins/strategy
    # https://github.com/ansible/ansible/issues/56930 (to ignore group names with - and .)
    force_valid_group_names = ignore
    
    host_key_checking=False
    gathering = smart
    fact_caching = jsonfile
    fact_caching_connection = /tmp
    stdout_callback = skippy
    library = ./library
    callback_whitelist = profile_tasks
    roles_path = roles:$VIRTUAL_ENV/usr/local/share/kubespray/roles:$VIRTUAL_ENV/usr/local/share/ansible/roles:/usr/share/kubespray/roles
    deprecation_warnings=False
    inventory_ignore_extensions = ~, .orig, .bak, .ini, .cfg, .retry, .pyc, .pyo, .creds, .gpg
    [inventory]
    ignore_patterns = artifacts, credentials