From e0bed8950405fc6df680cee2a70e06353d4ce3fc Mon Sep 17 00:00:00 2001 From: Brian Zalewski Date: Sat, 24 Dec 2022 15:08:24 +0000 Subject: [PATCH] Update file executable_install-program --- .../chezmoi/home/dot_local/bin/executable_install-program | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.local/share/chezmoi/home/dot_local/bin/executable_install-program b/.local/share/chezmoi/home/dot_local/bin/executable_install-program index 53c6b282..d9a18e49 100644 --- a/.local/share/chezmoi/home/dot_local/bin/executable_install-program +++ b/.local/share/chezmoi/home/dot_local/bin/executable_install-program @@ -1185,7 +1185,8 @@ async function installPackageList(packageManager, packages) { if (unbuffer) { unbufferPrefix = 'unbuffer' } - await $`${unbufferPrefix} ansible 127.0.0.1 -vvv -e '{ ansible_connection: "local", ansible_user: "${process.env.USER}", install_homebrew: False }' -m include_role -a name=${pkg}`; + const verboseMode = process.env.DEBUG_MODE === 'on' ? 'v' : '' + await $`${unbufferPrefix} ansible 127.0.0.1 -vv${verboseMode} -e '{ ansible_connection: "local", ansible_user: "${process.env.USER}", install_homebrew: False }' -m include_role -a name=${pkg}`; } catch (e) { log( "error",