-
Notifications
You must be signed in to change notification settings - Fork 105
/
.ansible-lint
51 lines (51 loc) · 1.83 KB
/
.ansible-lint
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
---
profile: production
exclude_paths:
- ../
- .cache/
- .venv/
- .github/ # Not Ansible, just YAML
- build/
- containerfiles/
- docs/
- scripts/
- zuul.d/projects.yaml # Generated, pyYAML is bad at indentation
- zuul.d/molecule.yaml # Generated, pyYAML is bad at indentation
- ci/
- roles/ci_gen_kustomize_values/molecule/default/files/networking-environment-definition.yml # Generated
- roles/ci_gen_kustomize_values/molecule/default/files/3-ocp-net-def.yml # Generated
- roles/ci_gen_kustomize_values/molecule/default/converge.yml # invalid due to calls to "lookup('file')"
- roles/ci_gen_kustomize_values/molecule/default/prepare.yml # import_playbook
- roles/reproducer/files/cifmw-bootstrap.yml # invalid due to calls to "lookup('file')"
- roles/kustomize_deploy/molecule/flexible_loop/files/networking-environment-definition.yml # Generated
- roles/kustomize_deploy/molecule/flexible_loop/prepare.yml # import_playbook
- roles/*/molecule/*/side_effect.yml # syntax-check[empty-playbook] https://github.com/ansible/molecule/issues/3617
strict: true
quiet: false
verbosity: 1
parseable: true
offline: true
var_naming_pattern: "^cifmw_[a-z_][a-z0-9_]*$"
mock_modules:
- zuul_return
enable_list:
- fqcn-builtins
- fqcn[action]
- fqcn[action-core]
- fqcn[canonical]
- fqcn[deep]
- jinja[invalid]
- no-tabs
- no-prompting
- no-relative-paths
- no-log-password
- no-same-owner
- name[play]
skip_list:
- jinja[spacing] # We don't really want to get that one. Too picky
- no-changed-when # once we get the oc module we can re-enable it
- risky-file-permissions # Seems to fail on 0644 on files ?!
- schema[meta] # Apparently "CentOS 9" isn't known... ?!
- schema[vars] # weird issue with some "vars" in playbooks
- yaml[line-length] # We have long lines, yes.
- galaxy[no-changelog]