Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/skatsuta/ansible-macos
Ansible playbook for provisioning developer environment on my macOS.
https://github.com/skatsuta/ansible-macos
ansible macos
Last synced: 2 days ago
JSON representation
Ansible playbook for provisioning developer environment on my macOS.
- Host: GitHub
- URL: https://github.com/skatsuta/ansible-macos
- Owner: skatsuta
- License: mit
- Created: 2014-12-27T15:47:55.000Z (almost 10 years ago)
- Default Branch: main
- Last Pushed: 2024-08-25T23:54:35.000Z (3 months ago)
- Last Synced: 2024-08-26T01:25:39.123Z (3 months ago)
- Topics: ansible, macos
- Language: Shell
- Homepage:
- Size: 196 KB
- Stars: 7
- Watchers: 3
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Ansible playbook for macOS
This playbook provides automatic installation of:
- dot files
- zsh
- Vim
- Go
- Homebrew / Cask packages
- Ruby and Gems
- Vagrant plugins
- fzf
- Node modules
- Python packageson your macOS.
## Usage
### Setup
```sh
$ curl -O https://raw.githubusercontent.com/skatsuta/ansible-macos/master/setup
$ bash setup
```Then you will be prompted like the following:
```sh
Copying your SSH public key into your clipboard...
Now you should add the generated key to GitHub before proceeding.
Are you sure you want to proceed? [Y/n]
```Your public key is already copied in your clipboard, so add the key to GitHub before hitting the enter key.
After all the setup processes are done, you will see the following message:
```sh
Initialization has been completed successfully.
To start provisioning, run$ cd /Users/skatsuta/src/github.com/skatsuta/ansible-macos
$ GOPATH=~ ansible-playbook playbook.yml
```Then go to the next step.
(If you encounter any problem during setup, fix it and re-run the script.)### Full Installation
If you want to install all the packages above, just run
```sh
$ ansible-playbook playbook.yml
```### Partial Installation
If you want to install a paticular package, for example, `go`, run with `-t` option:
```sh
$ ansible-playbook playbook.yml -t go
```This provisions only Go environment.