]> piware.de Git - bin.git/commitdiff
build-cockpit-toolbox: Add python and Ansible language servers
authorMartin Pitt <martin@piware.de>
Sat, 4 Oct 2025 06:30:29 +0000 (08:30 +0200)
committerMartin Pitt <martin@piware.de>
Sat, 4 Oct 2025 06:30:29 +0000 (08:30 +0200)
build-cockpit-toolbox

index 9276d3cda65b8698c6901196d14b0a3ef2f3341c..85b411e6f0c0d4101bc52f7bfa402902322f2215 100755 (executable)
@@ -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