Update .local/share/chezmoi/home/dot_local/bin/executable_install-program

This commit is contained in:
Brian Zalewski 2022-12-02 19:36:14 +00:00
parent 689cd65352
commit 41eb0d434d

View file

@ -558,7 +558,7 @@ async function installPackageList(packageManager, packages) {
if (packageManager === 'appimage') { if (packageManager === 'appimage') {
} else if (packageManager === 'ansible') { } else if (packageManager === 'ansible') {
for (const role of packages) { for (const role of packages) {
await $`ansible localhost -m setup -m include_role -a name=${role} -e ansible_user="$USER"` execSync('gum spin --spinner dot --title "Installing ' + role + ' via Ansible" -- ansible localhost -m setup -m include_role -a name=' + role + ' -e ansible_user="$USER"', , {stdio: 'inherit', shell: true})
} }
} else if (packageManager === 'apk') { } else if (packageManager === 'apk') {
await $`sudo apk add ${packages}` await $`sudo apk add ${packages}`