Install homebrew and setup ansible.
if [ -f /opt/homebrew/bin/brew ]; then
eval "$(/opt/homebrew/bin/brew shellenv)"
elif [ -f /usr/local/bin/brew ]; then
export PATH="/usr/local/bin:$PATH"
fi
brew install git curl ansible molecule
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"bash <(curl -s https://raw.githubusercontent.com/drew138/.dotfiles/main/roles/scripts/files/install.sh)reminder: system reboot might be required for some programs to work as expected.
Some packages like logitech-g-hub impede automatic installation
without password prompting. For that reason, they are not included in the role.
They can be installed manually using the following command:
brew install --cask logitech-g-hub