An Ansible Adventure: Using the Python API to list unmanaged packages

A walkthrough of how I used the Ansible Python API to create a script which executes any playbook and reports the apt packages that it does NOT install (i.e unmanaged packages), but are installed on the system. This is useful for auditing systems where packages should only be installed automatically by ansible