On a new machine, run:
xcode-select --install
softwareupdate --install-rosetta
curl "https://bootstrap.pypa.io/get-pip.py" -o /tmp/get-pip.py
sudo python3 /tmp/get-pip.py
sudo pip install ansible
export PYTHONUNBUFFERED=1
export PYTHONIOENCODING='utf-8'
ansible-pull -K -d /tmp/bootstrap -i localhost, -e 'ansible_python_interpreter=/usr/bin/python3' -U https://github.com/bts-bastion/macos.git
# or to work from a branch
# ansible-pull -K -d /tmp/bootstrap -i localhost, -e 'ansible_python_interpreter=/usr/bin/python3' -U https://github.com/bts-bastion/macos.git -C "bts/bastion"