def METHOD_NAME(ansible_module):
    """
    :Title: Test tps-config-mod with valid Admin, Agent and Operator Certificates
    :Description: Test tps-config-mod with valid Admin, Agent and Operator Certificates
    :Requirement:
    :Setup: Use pki setup via ansible playbooks
    :Steps: 1. Run tps-config-mod with valid Admin certificate
    :Expectedresults: 1. The command should be able to modify the config using valid Admin certificate
    :Automated: Yes
    """
    tpsconfigmod_output = ansible_module.pki(
        cli='tps-config-mod',
        extra_args='--input /tmp/tps_config.xml',
        nssdb=constants.NSSDB,
        port=constants.TPS_HTTPS_PORT,
        protocol='https',
        certnick='TPS_AdminV',
    )
    for result in tpsconfigmod_output.values():
        assert "Updated configuration" in result['stdout']
        assert 'general.search.sizelimit.default: 1' in result['stdout']
        assert 'general.search.sizelimit.max: 1' in result['stdout']
    CS_cfg_content = ansible_module.command("cat %s" %
                                            "/var/lib/pki/{}/tps/conf/CS.cfg".format(constants.TPS_INSTANCE_NAME))
    for result in CS_cfg_content.values():
        assert "general.search.sizelimit.default=1" in result['stdout']
        assert "general.search.sizelimit.max=1" in result['stdout']