Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
A
Ansible FreeIPA
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Model registry
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Mirror
Ansible FreeIPA
Commits
048f9550
Unverified
Commit
048f9550
authored
Aug 13, 2020
by
Thomas Woerner
Committed by
GitHub
Aug 13, 2020
Browse files
Options
Downloads
Plain Diff
Merge pull request #333 from seocam/fix-dnszone-error-msgs
Fixed error msgs on FreeIPABaseModule subclasses
parents
fc3b8dba
563a03d9
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
plugins/module_utils/ansible_freeipa_module.py
+6
-3
6 additions, 3 deletions
plugins/module_utils/ansible_freeipa_module.py
with
6 additions
and
3 deletions
plugins/module_utils/ansible_freeipa_module.py
+
6
−
3
View file @
048f9550
...
...
@@ -610,12 +610,15 @@ class FreeIPABaseModule(AnsibleModule):
exit the module with proper arguments.
"""
if
exc_val
:
self
.
fail_json
(
msg
=
str
(
exc_val
))
# TODO: shouldn't we also disconnect from api backend?
temp_kdestroy
(
self
.
ccache_dir
,
self
.
ccache_name
)
if
exc_type
==
SystemExit
:
raise
if
exc_val
:
self
.
fail_json
(
msg
=
str
(
exc_val
))
self
.
exit_json
(
changed
=
self
.
changed
,
user
=
self
.
exit_args
)
def
get_command_errors
(
self
,
command
,
result
):
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
sign in
to comment