Stop managing App Store apps; give ansible's interpreter boto3

Contribution Date
Contribution Project
Contribution Details
Stop managing App Store apps; give ansible's interpreter boto3 Two fixes. masApps is emptied. Managing App Store apps through brew bundle failed three separate ways here: during activation mas could not enumerate installed apps, so the install phase queued all seven and would have re-downloaded Xcode over an identical copy; the cleanup phase silently removed nothing for the same reason; and once iWork was deleted by hand, mas kept reporting the apps as installed, so every switch printed "Uninstalled 3 Mac App Store apps" and did nothing. The pre-migration Makefile set HOMEBREW_BUNDLE_MAS_SKIP for exactly this reason and dropping it was a mistake. The three IDs stay recorded as a comment; `make mas-update` still upgrades them. boto3 is fixed properly. Injecting the libraries into ansible's own closure was verified the wrong way - I checked they were present in the closure and called it done, but ansible does not run modules in its own environment. It discovers an interpreter and runs them there, which is the python3 on PATH, so amazon.aws still failed to import boto3. The bare python3 is replaced with a python3 carrying boto3 and botocore, which is what the discovery actually finds, and the ansible override is reverted. Setting ANSIBLE_PYTHON_INTERPRETER was the other option and was rejected: it applies to every host, so playbooks against remote machines would look for a /nix/store path that does not exist there.
Contribution Author
Bassam Ismail
Files count
0
Patches count
1