PQ Python

Ansible (ansible-core)

Uses the system OpenSSH client by default, so the controller’s OpenSSH version decides both PQ key exchange and ML-DSA composite key support.

PyPI
ansible-core, ansible
Version cited
2.22.1ansible-core 2.22.1 (30 Nov 2026); ansible 15.1.0
Downloads
19.2M/mo

Key exchange and encryption

PQ with action

PQ with OpenSSH ≥10.0 controller

Signatures and identity

PQ with action

Composite keys via OpenSSH 10.6

What to do

Upgrade controllers’ OpenSSH to ≥10.0, ideally 10.6; keep the default ssh transport, avoid paramiko / paramiko_ssh in ansible.cfg, and audit network_cli transports.

Since 1 Dec 2026 Nothing found as of 3 Dec 2026.

Details

ansible-core defaults to DEFAULT_TRANSPORT: ssh (transport = ssh), the system OpenSSH client. The controller’s OpenSSH version is therefore the lever, not a Python library (ansible base.yml).

  • OpenSSH 10.x gives mlkem768x25519-sha256 by default; 10.6 adds ssh-mldsa44-ed25519 composite keys (OpenSSH versions).
  • Ansible on OpenSSH keeps working when servers drop classical keys, unlike paramiko-based tools.
  • Make sure ansible.cfg never uses paramiko / paramiko_ssh, and audit ansible.netcommon network_cli transports, which can bring paramiko back AGY.

Caveat. The AGY report says an OpenSSH 10.6 controller gives “immediate, full” mlkem768x25519-sha256 + ssh-mldsa44-ed25519 support. The key exchange is automatic. The composite keys still have to be generated and deployed: OpenSSH’s notes do not say 10.6 makes them the ssh-keygen default, and existing keys do not rotate themselves.

Versions: ansible-core 2.22.1 (30 Nov 2026); the ansible community package 15.1.0 (AGY report). 19,208,160 ansible-core downloads in the 30 days to 3 Dec 2026; pypistats excludes conda, distro packages and snaps, so Ansible is undercounted.

Sources cited on this page 1
  1. ansible base.yml github.com

All sources across the guide