https://github.com/choonchernlim/mac-dev-bootstrap
A very opinionated Ansible playbook to configure my Mac
https://github.com/choonchernlim/mac-dev-bootstrap
ansible automation mac macos setup
Last synced: about 2 months ago
JSON representation
A very opinionated Ansible playbook to configure my Mac
- Host: GitHub
- URL: https://github.com/choonchernlim/mac-dev-bootstrap
- Owner: choonchernlim
- License: mit
- Created: 2020-03-24T12:44:27.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2024-12-12T17:07:39.000Z (over 1 year ago)
- Last Synced: 2024-12-24T04:42:00.850Z (over 1 year ago)
- Topics: ansible, automation, mac, macos, setup
- Language: Shell
- Homepage:
- Size: 180 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
# mac-dev-bootstrap
A very opinionated Ansible playbook to install, configure and update software and development tools on a Mac.
## Getting Started
- To begin first-time installation, run `./mac-dev-bootstrap.sh --tags [MACHINE_TYPE]` where `[MACHINE_TYPE]` is `work` for work machines or `personal` for personal machines.
- Note: When getting `Bash must not run in POSIX mode. Please unset POSIXLY_CORRECT and try again.` error,
install Homebrew and upgrade Bash to the latest version:
```bash
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
brew install bash
```
- To install/configure just specific installation(s), run `./mac-dev-bootstrap.sh --tags "[ROLE_TAGS]"`, ex:
- `./mac-dev-bootstrap.sh --tags "nvm"`: Install just NVM.
- `./mac-dev-bootstrap.sh --tags "nvm,gcloud"`: Install NVM and Google Cloud SDK.
- To display the arguments passed to each task, run `ANSIBLE_DISPLAY_ARGS_TO_STDOUT=true ./mac-dev-bootstrap.sh`.
- To update all the tools in the future, run `update --tags [MACHINE_TYPE]` where `[MACHINE_TYPE]` is `work` for work machines or `personal` for personal machines.