'return ansible version'

@staticmethod
def version(prog):

    result = '{0}    {1}'.format(prog, __version__)
    gitinfo = CLI._gitinfo()
    if gitinfo:
        result = (result + '    {0}'.format(gitinfo))
    result += ('\n        config    file    =    %s' % C.CONFIG_FILE)
    if (C.DEFAULT_MODULE_PATH is None):
        cpath = 'Default    w/o    overrides'
    else:
        cpath = C.DEFAULT_MODULE_PATH
    result = (result + ('\n        configured    module    search    path    =    %s' % cpath))
    result = (result + ('\n        ansible    python    module    location    =    %s' % ':'.join(ansible.__path__)))
    result = (result + ('\n        executable    location    =    %s' % sys.argv[0]))
    result = (result + ('\n        python    version    =    %s' % ''.join(sys.version.splitlines())))
    return result
