[{'depth': 1, 'hosts': [{'address': 'bigip-ve-03', 'name': 'bigip-ve-03',
    'uuid': UUID('b5e2180b-964f-41d9-9f5a-08a0d7dd133c'), 'vars': {
    'hostname': 'bigip-ve-03.local', 'ip': '10.128.1.130'}}], 'name':
    'ungrouped', 'vars': {}}, {'depth': 1, 'hosts': [{'address':
    'bigip-ve-01', 'name': 'bigip-ve-01', 'uuid': UUID(
    '3d7daa57-9d98-4fa6-afe1-5f1e03db4107'), 'vars': {'hostname':
    'bigip-ve-01.local', 'ip': '10.128.1.128'}}, {'address':
    'bigip-ve-02', 'name': 'bigip-ve-02', 'uuid': UUID(
    '72f35cd8-6f9b-4c11-b4e0-5dc5ece30007'), 'vars': {'hostname':
    'bigip-ve-02.local', 'ip': '10.128.1.129'}}, {'address':
    'bigip-ve-04', 'name': 'bigip-ve-04', 'uuid': UUID(
    '255526d0-087e-44ae-85b1-4ce9192e03c1'), 'vars': {}}], 'name': 'bigip',
    'vars': {'password': 'admin', 'username': 'admin'}}]
How can I get a list of hosts from an Ansible inventory file?