def METHOD_NAME(ansible_module):
    """
    :id: 37b93717-7968-4d85-8eff-7aaca9329f68
    :Title: Test pki-server instance-find command
    :Description: test pki-server instance-find command
    :Requirement: Pki Server Instance
    :Setup: Use the subsystems setup in ansible to run subsystem commands
    :CaseComponent: \-
    :Steps:
    :ExpectedResults:
        1. Verify whether pki-server instance-find command shows the instace name and state.
    """
    subsystems = ['ca', 'kra', 'ocsp', 'tks', 'tps']
    cmd_output = ansible_module.command('pki-server instance-find')
    for result in cmd_output.values():
        if result['rc'] == 0:
            for system in subsystems:
                instance = None
                try:
                    instance = eval("constants.{}_INSTANCE_NAME".format(system.upper()))
                except:
                    pytest.skip("Instance is not present")
                assertsuccess = "Instance ID: " + instance
                try:
                    assert assertsuccess in result['stdout']
                except CalledProcessError as e:
                    pytest.xfail("Failed to run pki-server instance-find command")
        else:
            pytest.xfail("Failed to run pki-server instance-find command.")