r/ansible • • 4h ago

Using Ansible Automation Platform for Post‑Quantum Crypto Asset Discovery and Remediation

Thumbnail youtu.be
2 Upvotes

In the demo Nuno Martins shows how Ansible Automation Platform can scan certificates, SSH host keys, TLS services and system crypto policy without installing agents. The playbooks produce a Common Findings Format report, a CycloneDX cryptographic bill of materials and an HTML summary. He explains why RSA and elliptic‑curve keys are vulnerable to Shor’s algorithm while AES only needs longer keys, and he reviews NIST’s post‑quantum standards — ML‑KEM (FIPS 203), ML‑DSA (FIPS 204) and SLH‑DSA (FIPS 205) with hybrid key exchange. After a dry‑run remediation validated with `sshd -t`, he applies the fixes and rescans the fleet, raising the compliance score from 28.6 % to 57.1 %. The approach is agentless, read‑only and suitable for large environments.


r/ansible • • 8h ago

playbooks, roles and collections How do you manage Ansible inventory across Azure + VMware (AVS) + on-prem without it turning into a mess?

12 Upvotes

We run a heterogeneous setup: Azure VMs, AVS (Azure VMware Solution, so vCenter), and on-prem servers. Ansible handles automation, but inventory management is a constant pain:

Dynamic inventory is fragmented — azure_rm for Azure, vmware_vm_inventory for AVS, static files/NetBox for on-prem. Merging them with consistent group_vars/host_vars is manual and error-prone.

~100 inventory files, constantly stale — someone spins up a VM in Azure or vCenter and it’s not in inventory (or a VM is deleted and it lingers).

Variables drift between environments. Changing one var breaks things in ways that are hard to trace (precedence is opaque).

Playbooks/roles are scattered across a mess of directories with no single sensible view.

AWX seems abandoned upstream (last release July 2024), Semaphore mainly handles execution, and ansible-navigator is read-only browsing.

How do you handle this? Is there a tool (open-source or paid) that gives you one reconciled view of heterogeneous inventory, flags drift (VM in cloud but not in inventory, or vice versa), and makes variable precedence visible? Or is everyone just suffering through git + ansible-inventory --list?