Skip to content
Snippets Groups Projects
Commit e1aa9641 authored by Thomas Woerner's avatar Thomas Woerner
Browse files

ipaserver: Add log, debug and info to AnsibleModuleLog

This makes AnsibleModuleLog compatible to the version in ipareplica role.
parent 7d43c861
Branches
Tags
No related merge requests found
......@@ -171,6 +171,16 @@ class AnsibleModuleLog():
def flush(self):
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):
self.module.debug(msg)
#self.module.warn(msg)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment