diff --git a/library/cloud/quantum_network b/library/cloud/quantum_network index 09cedc670f..c7466d0b78 100644 --- a/library/cloud/quantum_network +++ b/library/cloud/quantum_network @@ -170,7 +170,7 @@ def _get_net_id(quantum, module): try: networks = quantum.list_networks(**kwargs) except Exception as e: - module.fail_json("Error in listing quantum networks: %s" % e.message) + module.fail_json(msg = "Error in listing quantum networks: %s" % e.message) if not networks['networks']: return None return networks['networks'][0]['id']