Automic VaultAutomic Vault

brew

Install ansible-language-server with Homebrew, Nix

Language Server for Ansible Files. Version 26.6.0 via Homebrew; verified 2026-06-02.

install

Additional install commands

macOS

Homebrewverified · 100%
brew install ansible-language-server

local Homebrew formula metadata

Linux

Nixverified · 92%
nix profile install nixpkgs#ansible-language-server

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

overview

Package summary

Language Server for Ansible Files

Commands and aliases

  • ansible-language-server

history

Project history and usage

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

Project history

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.

Adoption history

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.

How it is used

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.

Why package nerds care

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.

Timeline

  • 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.

security posture

No protected-tool coverage found yet

No matching local secret-handling manifest was found for ansible-language-server. Nucleus package metadata is still published here so future coverage has a stable package URL.

Install behavior

  • No Homebrew post-install hook is recorded in formula metadata.
  • Homebrew bottle metadata is available for 1 platform targets.
  • Installs with 1 runtime dependencies.

Recommended review

Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.

executables

Installed executables

CommandKindExposureNote
ansible-language-servercliglobal executable

freshness

Version and freshness

These signals separate page generation age, package-manager activity, and upstream release comparison. Version lag is warned only when an evidence URL and comparable versions are present.

page generated2026-07-08
manager version26.6.0
manager updated2026-06-02
local dataok
upstreamnot checked
latest detectednot detected

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

install metadata

Package metadata

Package keybrew:ansible-language-server
Version26.6.0
Package managerHomebrew
Package manager pagehttps://formulae.brew.sh/formula/ansible-language-server
Homepagehttps://github.com/ansible/vscode-ansible
Repositoryhttps://github.com/ansible/vscode-ansible
Upstream docshttps://docs.ansible.com/projects/vscode-ansible/als
LicenseMIT
Source archivehttps://registry.npmjs.org/@ansible/ansible-language-server/-/ansible-language-server-26.6.0.tgz
Last updated2026-06-02T13:00:20Z
Pulseupdated
Dependenciesnode
Bottleavailable (on all)
Homebrew post-installnot defined
Servicenone declared

registry facts

Source database details

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

source database matches

Other package-manager records

Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.

Nix95%

ansible-language-server

nix profile install nixpkgs#ansible-language-server
  • normalized package name match
  • Matched by: 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

source trail

Generated from repository data

This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.

Used sources

  • 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