1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00

Fix exception output for os_keystone_domain.

The message attribute of a shade exception is not very helpful.
Converting to a full string will contain many more details.
This commit is contained in:
David Shrewsbury 2016-01-19 12:17:36 -05:00 committed by Matt Clay
parent 7f1ccad39b
commit ccee183143

View file

@ -181,7 +181,7 @@ def main():
module.exit_json(changed=changed)
except shade.OpenStackCloudException as e:
module.fail_json(msg=e.message)
module.fail_json(msg=str(e))
from ansible.module_utils.basic import *