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.
|
|
|
- hosts: all
|
|
|
|
tasks:
|
|
|
|
- group_by: key=os_{{ ansible_distribution }}
|
|
|
|
tags: always
|
|
|
|
|
|
|
|
- hosts: all
|
|
|
|
pre_tasks:
|
|
|
|
- name: update dotfiles repo
|
|
|
|
git:
|
|
|
|
repo: https://github.com/kejadlen/dotfiles.git
|
|
|
|
dest: ~/.dotfiles
|
|
|
|
ignore_errors: yes
|
|
|
|
|
|
|
|
- import_playbook: playbooks/homebrew.yml
|
|
|
|
|
|
|
|
- hosts: os_MacOSX
|
|
|
|
roles:
|
|
|
|
- role: osx
|
|
|
|
|
|
|
|
- hosts: all
|
|
|
|
roles:
|
|
|
|
- dotfiles
|
|
|
|
- ruby
|
|
|
|
- zsh
|
|
|
|
|
|
|
|
- hosts: all
|
|
|
|
tasks:
|
|
|
|
|
|
|
|
- name: update git remote for dotfiles
|
|
|
|
command: git remote set-url origin git@github.com:kejadlen/dotfiles.git
|
|
|
|
args:
|
|
|
|
chdir: ~/.dotfiles
|