You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
29 lines
577 B
29 lines
577 B
---
|
|
- hosts: all
|
|
tasks:
|
|
- group_by: key=os_{{ ansible_distribution }}
|
|
|
|
- hosts: all
|
|
pre_tasks:
|
|
- name: update dotfiles repo
|
|
git:
|
|
repo: https://github.com/kejadlen/dotfiles.git
|
|
dest: ~/.dotfiles
|
|
version: ansible-2 # TODO Don't check this in
|
|
- name: Update Homebrew
|
|
homebrew: update_homebrew=yes
|
|
|
|
- hosts: os_MacOSX
|
|
roles:
|
|
- role: homebrew
|
|
when: ansible_distribution == "MacOSX"
|
|
- role: osx
|
|
when: ansible_distribution == "MacOSX"
|
|
|
|
- hosts: all
|
|
roles:
|
|
- dotfiles
|
|
- ruby
|
|
- powerline
|
|
- zsh
|