Skipping plugin (/usr/lib/python3/dist-packages/ansible/plugins/filter/core.py) as it seems to be invalid: cannot import name 'environmentfilter' from 'jinja2.filters' (/usr/local/lib/python3.10/dist-packages/jinja2/filters.py)

Bug #2002925 reported by Hadmut Danisch
18
This bug affects 3 people
Affects Status Importance Assigned to Milestone
ansible (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

The ansible package is outdated and currently doesn't work:

Skipping plugin (/usr/lib/python3/dist-packages/ansible/plugins/filter/core.py) as it seems to be invalid: cannot import name 'environmentfilter' from 'jinja2.filters' (/usr/local/lib/python3.10/dist-packages/jinja2/filters.py)

The bug is known

https://github.com/ansible/ansible/issues/77413

and fixed in 2.9.22, 2.10.10, 2.11.1 and 2.12.0 but ubuntu 22.04 still comes with 2.10.7

ProblemType: Bug
DistroRelease: Ubuntu 22.04
Package: ansible 2.10.7+merged+base+2.10.8+dfsg-1
ProcVersionSignature: Ubuntu 5.15.0-58.64-generic 5.15.74
Uname: Linux 5.15.0-58-generic x86_64
NonfreeKernelModules: zfs zunicode zavl icp zcommon znvpair
ApportVersion: 2.20.11-0ubuntu82.3
Architecture: amd64
CasperMD5CheckResult: pass
CurrentDesktop: XFCE
Date: Mon Jan 16 02:13:40 2023
InstallationDate: Installed on 2022-12-25 (21 days ago)
InstallationMedia: Xubuntu 22.04.1 LTS "Jammy Jellyfish" - Release amd64 (20220809.1)
PackageArchitecture: all
SourcePackage: ansible
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
Hadmut Danisch (hadmut) wrote :
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in ansible (Ubuntu):
status: New → Confirmed
Revision history for this message
GeekSmith (lixo-geeksmith) wrote :

Also affects my Ubuntu system:

Ubuntu 20.04.6 LTS
ansible 2.9.6+dfsg-1
python 3.8.10

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.