This commit is contained in:
Oliver Davies 2016-09-25 00:01:00 +01:00
parent a65b27e865
commit fa3f73122f
9 changed files with 40 additions and 41 deletions

1
.gitignore vendored
View file

@ -1 +1,2 @@
*.log
*.retry

View file

@ -8,13 +8,13 @@
## Usage
```bash
$ ansible-playbook playbook.yml
$ ansible-playbook main.yml
```
Run everything.
```bash
$ ansible-playbook playbook.yml -t <tag>
$ ansible-playbook main.yml -t <tag>
```
Run a specific tag.

View file

@ -1,5 +1,2 @@
[defaults]
log_path = ./log/ansible.log
hostfile = ./inventory
inventory = ./inventory
roles_path = ./.roles
roles_path = ./.roles:/etc/ansible/roles

View file

@ -1,2 +1,2 @@
[local]
127.0.0.1 ansible_connection=local
[localhost]
127.0.0.1

View file

15
main.yml Normal file
View file

@ -0,0 +1,15 @@
---
- hosts: localhost
connection: local
vars_files:
- vars/dotfiles.yml
- vars/homebrew.yml
- vars/misc.yml
tasks:
- include: tasks/sudoers.yml
roles:
- geerlingguy.dotfiles
- geerlingguy.homebrew

View file

@ -1,17 +0,0 @@
---
- hosts: all
vars_files:
- vars/dotfiles.yml
- vars/homebrew.yml
- vars/misc.yml
tasks:
- { include: tasks/sudoers.yml, tags: ['base', 'sudoers'] }
roles:
- { role: geerlingguy.dotfiles, tags: ['dotfiles'] }
- { role: geerlingguy.homebrew, tags: ['brew', 'homebrew'] }
- { role: dotstrap.fish, tags: ['fish'] }
- { role: sublime, tags: ['sublime'] }
- { role: osx, tags: ['osx'] }

View file

@ -1,10 +1,5 @@
---
- src: geerlingguy.dotfiles
version: 1.1.0
- src: geerlingguy.homebrew
version: 1.4.1
- src: geerlingguy.nodejs
version: 3.2.0
- src: geerlingguy.ruby
version: 2.3.1
- src: dotstrap.fish
- src: 'geerlingguy.dotfiles'
version: '1.1.0'
- src: 'geerlingguy.homebrew'
version: '2.1.0'

View file

@ -2,12 +2,18 @@
homebrew_taps:
- caskroom/cask
- caskroom/fonts
- caskroom/versions
- homebrew/dupes
- homebrew/php
- homebrew/services
homebrew_installed_packages:
- cairo
- composer
- direnv
- docker
- docker-compose
- docker-machine
- drupal-code-sniffer
- fish
- git-extras
@ -24,41 +30,43 @@ homebrew_installed_packages:
- python
- ssh-copy-id
- tig
- tmux
- watch
- wget
homebrew_cask_apps:
- alfred
- appcleaner
- blue-jeans-launcher
- avast
# - blue-jeans-launcher
- caffeine
- cyberduck
- dockertoolbox
- dropbox
- filezilla
- fing
# - fing
- firefox
- flux
- font-hack
- font-fira-code
- gitx
- google-chrome
- google-drive
- gpgtools
- iterm2
- joinme
- keepassx
- keybase
- lastpass
- licecap
- moom
- ngrok
- opera
- phpstorm
- postman
- seil
- sequel-pro
- skype
- slack
- sourcetree
- spotify
- sublime-text
- sublime-text-dev
- teamviewer
- textual
- textwrangler