Update keystoneauth exception name
The execption is HttpException Change-Id: I3783b4faaef2ee4bc045a0ad3dc9ff671cc1290d
This commit is contained in:
parent
dd40f5ed9f
commit
8e3fec5388
@ -694,7 +694,7 @@ def ansible_main():
|
||||
delete_after=p.get('delete_after', 15552000),
|
||||
prefix=p.get('prefix'),
|
||||
public=p.get('public'))
|
||||
except (keystoneauth1.exceptions.http.HTTPError,
|
||||
except (keystoneauth1.exceptions.http.HttpError,
|
||||
requests.exceptions.RequestException) as e:
|
||||
module.fail_json(
|
||||
changed=False,
|
||||
|
Loading…
Reference in New Issue
Block a user