ansible/vscode-ansible

Add option to prefix all shell commands the plugin executes

オープン

#429 opened on 2022/02/13

 (0 件のコメント) (7 件のリアクション) (0 人の担当者)TypeScript (146 件のフォーク)github user discovery
good first issue

Repository metrics

Stars
 (481 個のスター)
PR merge metrics
 (平均マージ 1d 18h) (30d で 44 merged PRs)

説明

Problem

This plugin makes high use of executing shell commands, and has a few config options for these. But not all commands used by the plugin are covered, for example the ansible-playbook, ansible-config command and some more.

Sometimes you just need to add the same prefix to all of the commands, for example when using VS Code as a Flatpak, where you want to prefix every command with flatpak-spawn --host <command>, e.g. flatpak-spawn --host ansible-lint (which is configurable, but this does not work for all the other commands executed by the plugin).

Solution

Add an option to prefix all commands with a custom prefix, or at least something that makes it possible to execute all commands with flatpak-spawn --host at the front.

Alternatives

No response

Additional context

No response

コントリビューターガイド