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
e1aa9641
Commit
e1aa9641
authored
Jun 7, 2019
by
Thomas Woerner
Browse files
Options
Downloads
Patches
Plain Diff
ipaserver: Add log, debug and info to AnsibleModuleLog
This makes AnsibleModuleLog compatible to the version in ipareplica role.
parent
7d43c861
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
roles/ipaserver/module_utils/ansible_ipa_server.py
+10
-0
10 additions, 0 deletions
roles/ipaserver/module_utils/ansible_ipa_server.py
with
10 additions
and
0 deletions
roles/ipaserver/module_utils/ansible_ipa_server.py
+
10
−
0
View file @
e1aa9641
...
@@ -171,6 +171,16 @@ class AnsibleModuleLog():
...
@@ -171,6 +171,16 @@ class AnsibleModuleLog():
def
flush
(
self
):
def
flush
(
self
):
pass
pass
def
log
(
self
,
msg
):
#self.write(msg+"\n")
self
.
write
(
msg
)
def
debug
(
self
,
msg
):
self
.
module
.
debug
(
msg
)
def
info
(
self
,
msg
):
self
.
module
.
debug
(
msg
)
def
write
(
self
,
msg
):
def
write
(
self
,
msg
):
self
.
module
.
debug
(
msg
)
self
.
module
.
debug
(
msg
)
#self.module.warn(msg)
#self.module.warn(msg)
...
...
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