Ansible playbook to ✨automagically✨ install my workstation tools.
Disclaimer:
These scripts are MacOS M1/Ubuntu related with major version 18+, for other distributions you'll need to adapt it. Read the correspondent.yaml
file before applying and be sure to understand everything that will be done.
Type your password when asked to give root permissions for some actions.
- Install XCode command line tools
xcode-select --install
- Install Homebrew
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
- Add Homebrew to your PATH
(echo; echo 'eval "$(/opt/homebrew/bin/brew shellenv)"') >> /Users/$YOUR_DEVICE_NAME/.zprofile
eval "$(/opt/homebrew/bin/brew shellenv)"
- Install Ansible
brew install ansible
- Clone this repository
git clone https://github.com/luisabfs/workstation.git
- Apply the configuration
ansible-playbook workstation/macos.yaml --ask-become-pass
- Install Ansible
sudo apt update && sudo apt install ansible unzip git -y
- Clone this repository
git clone https://github.com/luisabfs/workstation.git
- Apply the configuration
ansible-playbook workstation/ubuntu.yaml --ask-become-pass