python-minimal does not exist on Ubuntu 22.04
There is no python-minimal
package on Ubuntu 22.04
$ apt search python | grep minimal
WARNING: apt does not have a stable CLI interface. Use with caution in scripts.
command line minimalistic personal finance manager
diffoscope-minimal/jammy,jammy,jammy,jammy 205 all
in-depth visual diff tool for files, archives and directories (minimal package)
create beautiful JavaScript charts with minimal code
libpython2.7-minimal/jammy-updates,jammy-security,jammy-updates,jammy-security 2.7.18-13ubuntu1.1 amd64
libpython3.10-minimal/jammy-updates,jammy-security,jammy-updates,jammy-security,now 3.10.12-1~22.04.3 amd64 [installed,automatic]
libpython3.11-minimal/jammy-updates,jammy-updates 3.11.0~rc1-1~22.04 amd64
Powerful image viewer with minimal UI
XStatic base package with minimal support code - doc
python2-minimal/jammy,jammy 2.7.18-3 amd64
minimal subset of the Python2 language
python2.7-minimal/jammy-updates,jammy-security,jammy-updates,jammy-security 2.7.18-13ubuntu1.1 amd64
minimalist WSGI server implementation using async
minimalistic evaluator of Python 3 expression using ast module
create beautiful JavaScript charts with minimal code (Python 3)
minimal low-level HTTP client
minimalist kanboard Python client (Python (3)
minimal build daemon - Python library and user tool
python3-minimal/jammy-updates,jammy-security,jammy-updates,jammy-security,now 3.10.6-1~22.04 amd64 [installed,automatic]
minimal subset of the Python language (default python3 version)
python3-pyroute2-minimal/jammy-updates,jammy-updates,jammy-updates,jammy-updates 0.6.4-3ubuntu2 all
Python3 Netlink library - minimal
minimalist WSGI server implementation using async
XStatic base package with minimal support code - Python 3.x
python3.10-minimal/jammy-updates,jammy-security,jammy-updates,jammy-security,now 3.10.12-1~22.04.3 amd64 [installed,automatic]
python3.11-minimal/jammy-updates,jammy-updates 3.11.0~rc1-1~22.04 amd64
I changed the molecule/default/prepare.yml
to use python3-minimal
instead. This needs to be considered when using Vagrant as the container to run the infra test.
---
- name: Prepare
hosts: all
gather_facts: false
tasks:
- name: Install python for Ansible
raw: test -e /usr/bin/python || (apt -y update && apt install -y python3-minimal)
become: true
changed_when: false