More general output.

This commit is contained in:
mcameron 2015-02-16 15:08:39 +00:00
parent 8eb7870a5e
commit 24f8792bab

View file

@ -356,7 +356,7 @@ def _add_auto_floating_ip(module, nova, server):
try:
new_ip = nova.floating_ips.create()
except Exception as e:
module.fail_json(msg = "Unable to create floating ip: %s" % (e.message))
module.fail_json(msg = "Unable to create floating ip: %s" % (e))
try:
server.add_floating_ip(new_ip)