'run the idempotent ansible code'

@staticmethod
def run_ansible(params):

    oc_version = OCVersion(params['kubeconfig'], params['debug'])
    if (params['state'] == 'list'):
        result = oc_version.get()
        return {'state': params['state'], 'results': result, 'changed': False}
