Ansible-lint in the Ansible PPA is broken?

Victor_Sudakov
Wed, 19 Nov 2025 02:34:48 +0000
Get Help

Dear Colleagues,

Who are the maintainers of the Ansible PPA and to whom could I address this issue ansible and ansible-lint in the PPA are probably incompatible · Issue #4827 · ansible/ansible-lint · GitHub ?

Short summary of the issue: ansible and ansible-lint in the PPA are probably incompatible, after a recent “apt upgrade”, when I try running ansible-lint, I get the following traceback:

$ ansible-lint
Traceback (most recent call last):
  File "/usr/bin/ansible-lint", line 5, in <module>
    from ansiblelint.__main__ import _run_cli_entrypoint
  File "/usr/lib/python3/dist-packages/ansiblelint/__main__.py", line 39, in <module>
    from ansiblelint import cli
  File "/usr/lib/python3/dist-packages/ansiblelint/cli.py", line 29, in <module>
    from ansiblelint.yaml_utils import clean_json
  File "/usr/lib/python3/dist-packages/ansiblelint/yaml_utils.py", line 31, in <module>
    from ansiblelint.utils import Task
  File "/usr/lib/python3/dist-packages/ansiblelint/utils.py", line 41, in <module>
    from ansible.parsing.yaml.constructor import AnsibleConstructor, AnsibleMapping
ModuleNotFoundError: No module named 'ansible.parsing.yaml.constructor'

22 posts - 6 participants