Update file executable_install-program

This commit is contained in:
Brian Zalewski 2022-12-25 09:38:17 +00:00
parent d92d4a4ada
commit 58bcd03cd4

View file

@ -662,7 +662,10 @@ async function ensureInstalled(bin, callback) {
async function ensurePackageManagerAnsible() {
await $`pipx install ansible`
await $`pipx inject ansible PyObjC PyObjC-core docker lxml netaddr pexpect python-vagrant pywinrm requests-credssp watchdog`
if (osType === 'darwin') {
await $`pipx inject ansible PyObjC PyObjC-core`
}
await $`pipx inject ansible docker lxml netaddr pexpect python-vagrant pywinrm requests-credssp watchdog`
await $`mkdir -p "$HOME/.cache/megabyte-labs"`
await $`touch "$HOME/.cache/megabyte-labs/ansible-installed"`
log('info', 'Package Manager Install', `Ansible and its supporting packages are now installed via pipx`)