Update file executable_install-program
This commit is contained in:
parent
6fdd99dc30
commit
134306b1dd
1 changed files with 1 additions and 2 deletions
|
@ -1077,11 +1077,10 @@ async function installPackageList(packageManager, packages) {
|
|||
unbufferPrefix = 'unbuffer'
|
||||
}
|
||||
const verboseMode = process.env.DEBUG_MODE === 'on' ? 'vv' : ''
|
||||
await $`ansible 127.0.0.1 -v${verboseMode} -e '{ ansible_connection: "local", ansible_become_user: "${process.env.USER}", ansible_user: "${process.env.USER}", install_homebrew: False }' -m include_role -a name=${pkg}`
|
||||
await $`ansible 127.0.0.1 -v${verboseMode} -e '{ ansible_connection: "local", ansible_become_user: "${process.env.USER}", ansible_user: "${process.env.USER}", ansible_become_pass: "", install_homebrew: False }' -m include_role -a name=${pkg}`
|
||||
log('success', 'Install', `${pkg} successfully installed via ${packageManager}`)
|
||||
} catch (e) {
|
||||
log('error', 'Install Failure', `There was an error installing ${pkg} with Ansible`)
|
||||
console.log(e)
|
||||
}
|
||||
}
|
||||
} else if (packageManager === 'apk') {
|
||||
|
|
Loading…
Reference in a new issue