Update file executable_install-program

This commit is contained in:
Brian Zalewski 2022-12-24 15:08:24 +00:00
parent a3e2dbddbb
commit e0bed89504

View file

@ -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",