From 5bf9adc5f1fe339a6a6be76a704f58dcf450ff34 Mon Sep 17 00:00:00 2001 From: Martin Pitt Date: Sat, 4 Oct 2025 08:30:29 +0200 Subject: [PATCH] build-cockpit-toolbox: Add python and Ansible language servers --- build-cockpit-toolbox | 3 +++ 1 file changed, 3 insertions(+) diff --git a/build-cockpit-toolbox b/build-cockpit-toolbox index 9276d3c..85b411e 100755 --- a/build-cockpit-toolbox +++ b/build-cockpit-toolbox @@ -24,6 +24,9 @@ sudo dnf install -y ansible bash-completion man-db man-pages moreutils fd-find r tmt python3-testcloud flatpak-builder flatpak-spawn qemu-ui-sdl \ fedpkg centpkg +# language servers +sudo npm install -g @ansible/ansible-language-server pyright + # commands to forward to the host for cmd in podman buildah toolbox nmcli eog evince flatpak; do printf "#!/bin/sh\nexec flatpak-spawn --host $cmd \42\$@\42\n" | sudo tee /usr/local/bin/$cmd >/dev/null -- 2.47.3