Tidy up code.
Get package versions from Ansible-managed hosts.