|
|
@ -6,13 +6,17 @@ This uses [Ansible](https://github.com/ansible/ansible) to provision new
|
|
|
|
machines and [stow](http://www.gnu.org/software/stow/) for managing conf
|
|
|
|
machines and [stow](http://www.gnu.org/software/stow/) for managing conf
|
|
|
|
files that can be symlinked.
|
|
|
|
files that can be symlinked.
|
|
|
|
|
|
|
|
|
|
|
|
# Requirements
|
|
|
|
# Usage
|
|
|
|
|
|
|
|
|
|
|
|
- [Ansible](https://github.com/ansible/ansible)
|
|
|
|
First, install [Xcode](https://itunes.apple.com/us/app/xcode/id497799835?mt=12)
|
|
|
|
|
|
|
|
and the Command Line Tools.
|
|
|
|
|
|
|
|
|
|
|
|
# Usage
|
|
|
|
``` shell
|
|
|
|
|
|
|
|
sudo xcode-select --install
|
|
|
|
|
|
|
|
open 'https://itunes.apple.com/us/app/xcode/id497799835?mt=12'
|
|
|
|
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
|
|
On a fresh install, the bootstrap script installs Homebrew and Ansible, clones
|
|
|
|
Then run the bootstrapping script. This installs Homebrew and Ansible, clones
|
|
|
|
the dotfiles repo into `~/Dropbox/dotfiles`, and creates a symlink to that repo
|
|
|
|
the dotfiles repo into `~/Dropbox/dotfiles`, and creates a symlink to that repo
|
|
|
|
in `~/.dotfiles`.
|
|
|
|
in `~/.dotfiles`.
|
|
|
|
|
|
|
|
|
|
|
@ -20,7 +24,9 @@ in `~/.dotfiles`.
|
|
|
|
curl -L https://raw.github.com/kejadlen/dotfiles/master/bootstrap.sh | sh
|
|
|
|
curl -L https://raw.github.com/kejadlen/dotfiles/master/bootstrap.sh | sh
|
|
|
|
```
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Now ansible can be run to set up mostly everything.
|
|
|
|
|
|
|
|
|
|
|
|
``` shell
|
|
|
|
``` shell
|
|
|
|
cd ~/.dotfiles/ansible && /usr/local/bin/ansible-playbook main.yml --ask-sudo-pass
|
|
|
|
cd ~/.dotfiles/ansible && ansible-playbook main.yml --ask-sudo-pass
|
|
|
|
rm -f ~/*.retry
|
|
|
|
rm -f ~/*.retry
|
|
|
|
```
|
|
|
|
```
|
|
|
|