def METHOD_NAME(ansible_module):
    global HOST
    cert_setup = CertSetup(nssdb=constants.NSSDB,
                           db_pass=constants.CLIENT_DATABASE_PASSWORD,
                           host=HOST,
                           port=constants.CA_HTTP_PORT,
                           nick="'{}'".format(constants.CA_ADMIN_NICK))
    cert_setup.create_certdb(ansible_module)
    cert_setup.import_ca_cert(ansible_module)
    cert_setup.import_admin_p12(ansible_module, 'ca')
    cert_setup.setup_role_users(ansible_module, 'ca', constants.CA_ADMIN_NICK, duration='minute')
    tps_cert_setup = CertSetup(nssdb=constants.NSSDB,
                               db_pass=constants.CLIENT_DATABASE_PASSWORD,
                               host=HOST,
                               port=constants.TPS_HTTP_PORT,
                               nick="'{}'".format(constants.TPS_ADMIN_NICK))
    tps_cert_setup.import_admin_p12(ansible_module, 'tps')
    tps_cert_setup.setup_role_users(ansible_module, 'tps', constants.TPS_ADMIN_NICK,
                                    duration='minute')
    tpsconfig_show_output = ansible_module.pki(
        cli='tps-config-show',
        nssdb=constants.NSSDB,
        port=constants.TPS_HTTPS_PORT,
        protocol='https',
        certnick='TPS_AdminV',
        extra_args='--output /tmp/tps_config.xml'
    )
    ansible_module.fetch(src='/tmp/tps_config.xml', dest='/tmp/tps_config.xml', flat=True)
    xml_file = ElementTree.parse('/tmp/tps_config.xml')
    for element in xml_file.find("Properties"):
        if element.attrib['name'] == "general.search.sizelimit.default":
            element.text = "1"
        if element.attrib['name'] == "general.search.sizelimit.max":
            element.text = "1"
    xml_file.write('/tmp/tps_config_edited.xml')
    ansible_module.copy(src='/tmp/tps_config_edited.xml', dest='/tmp/tps_config.xml')