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 8b938f3d..514f640b 100644 --- a/.local/share/chezmoi/home/dot_local/bin/executable_install-program +++ b/.local/share/chezmoi/home/dot_local/bin/executable_install-program @@ -645,8 +645,11 @@ async function installPackageList(packageManager, packages) { console.log(packages) for (let pkg of packages) { console.log(pkg) - //execSync('gum spin --spinner dot --title "Installing ' + pkg + ' via Ansible" -- ansible localhost --skip-tags brew -m setup -m include_role -a name=' + pkg + ' -e ansible_user=' + process.env.USER, {stdio: 'inherit', shell: true}) - await $`ansible localhost --skip-tags brew -m setup -m include_role -a name=${pkg} -e ansible_user=${process.env.USER}` + try { + execSync(`gum spin --spinner dot --title "Installing ${pkg} via Ansible" -- ansible localhost -m setup -m include_role -a name=${pkg} -e ansible_user=${process.env.USER} -e include_homebrew_install=false, {stdio: 'inherit', shell: true}) + } catch (e) { + await $`ansible localhost -m setup -m include_role -a name=${pkg} -e ansible_user=${process.env.USER} -e include_homebrew_install=false` + } } } else if (packageManager === 'apk') { for (let pkg of packages) { diff --git a/.local/share/chezmoi/software.yml b/.local/share/chezmoi/software.yml index f2da9c2a..0aa535c7 100644 --- a/.local/share/chezmoi/software.yml +++ b/.local/share/chezmoi/software.yml @@ -2390,7 +2390,7 @@ softwarePackages: _service: null go: github.com/lingrino/glen@latest glow: - _bin: null + _bin: glow _desc: Glow is a terminal based markdown reader designed from the ground up to bring out the beauty—and power—of the CLI _docs: null _github: https://github.com/charmbracelet/glow @@ -2571,7 +2571,7 @@ softwarePackages: _service: null pipx: gphotos-sync gping: - _bin: null + _bin: gping _desc: '[gping](https://github.com/orf/gping) is like the regular ping command except it also displays a chart labeled with response timing statistics.' _docs: null _github: https://github.com/orf/gping @@ -2633,7 +2633,7 @@ softwarePackages: port: grype yay: grype-bin gtop: - _bin: null + _bin: gtop _desc: null _docs: null _github: null