mirror of
https://github.com/freeipa/ansible-freeipa.git
synced 2026-06-23 09:14:43 +00:00
ipareplica: Drop debugging remain show_obj
This commit is contained in:
@@ -162,20 +162,6 @@ class AnsibleModuleLog():
|
|||||||
# self.module.debug(msg)
|
# self.module.debug(msg)
|
||||||
self.module.warn(msg)
|
self.module.warn(msg)
|
||||||
|
|
||||||
def show_obj(obj):
|
|
||||||
s="%s = {" % obj.__class__
|
|
||||||
for key in dir(obj):
|
|
||||||
#if key in [ "__class__", "__dict__" ]:
|
|
||||||
# continue
|
|
||||||
if key.startswith("--") and key.endswith("--"):
|
|
||||||
continue
|
|
||||||
if not hasattr(obj, key):
|
|
||||||
continue
|
|
||||||
value = getattr(obj, key)
|
|
||||||
if callable(value):
|
|
||||||
continue
|
|
||||||
s += " '%s': %s," % (key, repr(value))
|
|
||||||
logger.info(s+" }")
|
|
||||||
|
|
||||||
class installer_obj(object):
|
class installer_obj(object):
|
||||||
def __init__(self):
|
def __init__(self):
|
||||||
@@ -310,8 +296,6 @@ def gen_ReplicaConfig():
|
|||||||
config.basedn = api.env.basedn
|
config.basedn = api.env.basedn
|
||||||
#config.subject_base = options.subject_base
|
#config.subject_base = options.subject_base
|
||||||
|
|
||||||
#show_obj(config)
|
|
||||||
|
|
||||||
return config
|
return config
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -318,7 +318,6 @@ def main():
|
|||||||
ca_file=cafile,
|
ca_file=cafile,
|
||||||
promote=promote,
|
promote=promote,
|
||||||
pkcs12_info=dirsrv_pkcs12_info)
|
pkcs12_info=dirsrv_pkcs12_info)
|
||||||
#show_obj(ds)
|
|
||||||
|
|
||||||
ansible_log.debug("-- INSTALL DNS RECORDS --")
|
ansible_log.debug("-- INSTALL DNS RECORDS --")
|
||||||
# Always try to install DNS records
|
# Always try to install DNS records
|
||||||
|
|||||||
Reference in New Issue
Block a user