Refreshing host database...
Adding [redacted] to inventory...
Traceback (most recent call last):
File "./ansiblecs.py", line 80, in <module>
refresh_db()
File "./ansiblecs.py", line 47, in refresh_db
ipv4 = server['runtime']['nics'][0]['ip_v4']['uuid']
TypeError: 'NoneType' object has no attribute '__getitem__'
$ ./ansiblecs.py --refreshdb