Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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.

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 packages

on 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.