Automic VaultAutomic Vault

brew

使用 Homebrew, Nix 安装 ansible-language-server

查看 ansible-language-server 的安装路径、可执行文件、元数据以及面向 AI 代理工作流的安全说明。

安装

其他安装命令

macOS

Homebrew已验证 · 100%
brew install ansible-language-server

local Homebrew formula metadata

Linux

Nix已验证 · 92%
nix profile install nixpkgs#ansible-language-server

nixpkgs package indexes · ansible-language-server · 来源: raw.githubusercontent.com

概览

软件包摘要

Language Server for Ansible Files

命令和别名

  • ansible-language-server

历史

项目历史与用法

Ansible Language Server is the LSP server used by editor integrations to provide Ansible-aware syntax highlighting, validation, linting, completion, documentation references, and navigation.

项目历史

The separate ansible-language-server repository now states that the codebase is included in the Ansible VS Code Extension repository. The active source repository for the Homebrew formula is therefore ansible/vscode-ansible.

The language server is documented as a reusable server rather than only a VS Code internals package. Its docs say it is used by the Ansible extension for VS Code/Codium, Vim/Neovim integrations, and Emacs LSP clients, and that releases are published to npm.

采用历史

The project follows the wider editor shift toward Language Server Protocol support: instead of every editor implementing Ansible-specific YAML behavior independently, the server centralizes Ansible semantics and lets multiple editors consume them.

Homebrew packaging makes the NPM-published language server easy to install as a standalone executable for editors such as Neovim or Emacs, where users often wire language servers by path.

使用方式

In practice, users rarely run the language server directly unless configuring an editor. The server is launched by editor clients and uses the local Ansible tooling stack to provide validation, linting, completion, and documentation lookup for playbooks, roles, and collections.

For VS Code users it is bundled into the Red Hat Ansible extension experience; for terminal-editor users, the packaged `ansible-language-server` executable is the useful artifact.

为什么软件包爱好者会关心

This package is a nice example of a GUI-adjacent tool becoming a standalone CLI dependency. Although born from editor integration, the language server is valuable to package managers because LSP tooling expects real executables discoverable on PATH.

Its migration into the vscode-ansible repository is also notable: the source tree is unified with the main extension, while the language server remains separately releasable and packageable.

时间线

  • 2021: Early 1.x tags appear for the Ansible language-server/editor integration line.
  • 2024: Maintainers decide to merge ansible-language-server back into the vscode-ansible repository while keeping separate releases.
  • 2024: The release line moves into calendar-style 24.x versions.
  • 2026: NPM and Homebrew carry 26.x releases of the standalone language server.

Related projects

  • ansible/vscode-ansible contains the active codebase and VS Code extension.
  • ansible-lint supplies linting behavior surfaced by editor integrations.
  • yaml-language-server and editor LSP clients are adjacent pieces in typical Ansible editor setups.

安全态势

尚未找到受保护工具覆盖

没有找到 ansible-language-server 的匹配本地密钥处理 manifest。Nucleus 软件包元数据仍在此发布,以便未来覆盖拥有稳定的软件包 URL。

安装行为

  • formula 元数据中未记录 Homebrew post-install 钩子。
  • Homebrew bottle 元数据适用于 1 个平台目标。
  • 安装时包含 1 个运行时依赖。

建议审查

在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。

可执行文件

已安装的可执行文件

命令类型暴露范围备注
ansible-language-servercli全局可执行文件

新鲜度

版本和新鲜度

这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。

页面生成时间2026-07-25
管理器版本26.6.0
管理器更新时间2026-06-02
本地数据OK
上游not checked
检测到的最新版本未检测到

https://github.com/ansible/vscode-ansible

安装元数据

软件包元数据

软件包键brew:ansible-language-server
版本26.6.0
软件包管理器Homebrew
软件包管理器页面https://formulae.brew.sh/formula/ansible-language-server
主页https://github.com/ansible/vscode-ansible
仓库https://github.com/ansible/vscode-ansible
上游文档https://docs.ansible.com/projects/vscode-ansible/als
许可证MIT
源码归档https://registry.npmjs.org/@ansible/ansible-language-server/-/ansible-language-server-26.6.0.tgz
最后更新2026-06-02T13:00:20Z
Pulseupdated
依赖node
Bottle可用 (于 all)
Homebrew post-install未定义
服务未声明

注册表事实

源数据库详情

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Nameansible-language-server
Version Scheme0
Revision0
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • stable

源数据库匹配

其他软件包管理器记录

匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。

Nix95%

ansible-language-server

nix profile install nixpkgs#ansible-language-server
  • normalized package name match
  • 匹配方式:Ansible Language Server
nixpkgs package indexes · raw.githubusercontent.com · nixpkgs package indexes: ansible-language-server from https://raw.githubusercontent.com/NixOS/nixpkgs/master/pkgs/top-level/all-packages.nix

来源线索

由仓库数据生成

此页面由 av-webscripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。

使用的来源

  • Geiger risk classifier
  • Nucleus package database
  • av.db category and tag curation
  • cross-ecosystem install command graph
  • curated package history
  • external package-manager database matches
  • package relationship graph
  • package version freshness
  • package-page enrichment