Merge pull request #905 from t-woerner/ipaserver_ipareplica_module_log_isatty

ipaserver/ipareplica: Add isatty method to AnsibleModuleLog
This commit is contained in:
Rafael Guterres Jeffman
2022-09-05 17:24:28 -03:00
committed by GitHub
2 changed files with 8 additions and 0 deletions

View File

@@ -222,6 +222,10 @@ else:
def info(self, msg):
self.module.debug(msg)
@staticmethod
def isatty():
return False
def write(self, msg):
self.module.debug(msg)
# self.module.warn(msg)

View File

@@ -255,6 +255,10 @@ else:
def info(self, msg):
self.module.debug(msg)
@staticmethod
def isatty():
return False
def write(self, msg):
self.module.debug(msg)
# self.module.warn(msg)