From 04f5183cdef366756b2172789bb6c06fd4d39c21 Mon Sep 17 00:00:00 2001 From: Brian Zalewski Date: Thu, 5 Jan 2023 05:19:45 +0000 Subject: [PATCH] Update file executable_install-program --- home/dot_local/bin/executable_install-program | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/home/dot_local/bin/executable_install-program b/home/dot_local/bin/executable_install-program index 116ce7e4..5b98eef2 100644 --- a/home/dot_local/bin/executable_install-program +++ b/home/dot_local/bin/executable_install-program @@ -1073,7 +1073,7 @@ async function installPackageList(packageManager, packages) { unbufferPrefix = 'unbuffer' } const verboseMode = process.env.DEBUG_MODE === 'on' ? 'vv' : '' - runCommand('Installing ${pkg} via Ansible', `ansible 127.0.0.1 -v${verboseMode} -e '{ ansible_connection: "local", 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_user: "${process.env.USER}", 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`)