diff options
| author | Michal Nasiadka <mnasiadka@gmail.com> | 2026-01-07 11:10:37 +0100 |
|---|---|---|
| committer | Michal Nasiadka <mnasiadka@gmail.com> | 2026-01-09 08:34:19 +0000 |
| commit | c8ea844b2b31cfc0446b6174e6b033a4036b9750 (patch) | |
| tree | 29d2ef8215f7b7b5a426ff6e34bfdcc160bcd542 /.ansible-lint | |
| parent | 7d89d6afbef6fcb352c30f9fe04a72fbeca1f18f (diff) | |
| download | kolla-ansible-c8ea844b2b31cfc0446b6174e6b033a4036b9750.tar.gz kolla-ansible-c8ea844b2b31cfc0446b6174e6b033a4036b9750.zip | |
ansible-lint: Rework validate-all-file into custom rules
Test roles/ subdirectories as well (used by Zuul)
In addition to that container_exec_become will also
fail when "docker exec" or "podman exec" will be used
instead of "{{ kolla_container_engine }} exec"
Generated-By: Claude
Change-Id: I75c1e48c36bb0284e2927b1cb354ce9ec47967d7
Signed-off-by: Michal Nasiadka <mnasiadka@gmail.com>
Diffstat (limited to '.ansible-lint')
| -rw-r--r-- | .ansible-lint | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/.ansible-lint b/.ansible-lint index 2e1a9d6f9..9790df05b 100644 --- a/.ansible-lint +++ b/.ansible-lint @@ -1,13 +1,13 @@ --- exclude_paths: - releasenotes - - roles - tests - zuul.d +rulesdir: + - .ansible-lint-rules/ # NOTE(mnasiadka): Switched to false due to rules skipped via .ansible-lint-ignore causing # failures strict: false -use_default_rules: true skip_list: # disable experimental rules - experimental @@ -16,5 +16,9 @@ skip_list: - fqcn-builtins # FQCNs again, now for module actions - fqcn[action] + # Role names + - role-name - var-naming[no-role-prefix] - yaml[line-length] + +use_default_rules: true |
