More general output.

pull/18777/head
mcameron 10 years ago committed by Matt Clay
parent af6c625cc2
commit f799180a58

@ -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)

Loading…
Cancel
Save