Hi Marco,

this is fixed in 25.2.1-2, which I just uploaded moments ago.

Greetings,
Lee

On Fri, 25 Apr 2025 19:29:51 +0200 Marco d'Itri <m...@linux.it> wrote:
Package: ansible-lint
Version: 25.2.1-1
Severity: important

I get this warning for all playbooks, but they do not mention "disable_lookups" anywhere and I have no idea of what it means:

[DEPRECATION WARNING]: Passing `disable_lookups` to `template` is deprecated. 
This feature will be removed in version 2.23.

But worse, after that line ansible-lint then outputs 51 identical lines with this content:

WARNING  /usr/lib/python3/dist-packages/ansible/utils/display.py:747 
AnsibleWarning Deprecation warnings can be disabled by setting 
`deprecation_warnings=False` in ansible.cfg.

BTW, the last line is:

Passed: 0 failure(s), 0 warning(s) on 2 files. Last profile that met the 
validation criteria was 'production'.

which is at odd with one warning (or 52?) being reported.

-- System Information:
Debian Release: trixie/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 6.12.20-amd64 (SMP w/16 CPU threads; PREEMPT)
Locale: LANG=it_IT.utf8, LC_CTYPE=it_IT.utf8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages ansible-lint depends on:
ii  ansible-core                2.19.0~beta2-1
ii  black                       25.1.0-2
ii  git                         1:2.49.0-1
ii  python3                     3.13.3-1
ii  python3-ansible-compat      25.1.5-1
ii  python3-filelock            3.18.0-1
ii  python3-importlib-metadata  8.6.1-1
ii  python3-jinja2              3.1.6-1
ii  python3-jsonschema          4.19.2-6
ii  python3-packaging           24.2-3
ii  python3-pathspec            0.12.1-1
ii  python3-referencing         0.36.2-1
ii  python3-ruamel.yaml         0.18.10+ds-1
ii  python3-subprocess-tee      0.4.2-1
ii  python3-wcmatch             10.0-1
ii  python3-yaml                6.0.2-1+b2
ii  yamllint                    1.37.0-1

ansible-lint recommends no packages.

ansible-lint suggests no packages.

-- no debconf information

--
ciao,

Reply via email to