ci(lint): lower complexity max_tasks to 40 once ansible-lint accepts the key #139
Notifications
Due Date
No due date set.
Depends on
Reference: Mortis/Kamino#139
Reference in new issue
Block a user
Spec: Role standard, resolution comment, "Complexity".
What
Set
max_tasks: 40in.ansible-lintonce ansible-lint's config schema (schemas/ansible-lint-config.json) accepts the key. In 26.10.1 the key makes the whole config invalid. The nearest upstream issue is ansible/ansible-lint#4824.Why human
This waits on an upstream release. A human checks whether a fix has shipped, or decides whether to report the bug upstream. When the Renovate bump that brings the fix arrives, this becomes a one-line change.
Review of the map (2026-11-15): corrections to this issue.
.ansible-lintdoes not excluderoles/*/molecule(itsexclude_pathslists.gitea,.venv,apm_modules,apm.lock.yaml,changelogs,images), so molecule playbooks count. A rough count of named tasks putsroles/ufw/molecule/default/converge.yml,roles/system_baseline/molecule/default/verify.ymlandroles/sshd/molecule/default/converge.ymlover 40; the largest file underroles/*/tasks/(roles/ufw/tasks/service_rules.yml) is about 35. ansible-lint's own count may differ. The change would then arrive as a surprise failure on the Renovate bump that brings the fix. Change: before lowering the limit, run Lint withmax_tasks: 40and list the files over it in this issue. Then decide per file: split it, or excludemolecule/from the rule with a stated reason.