-
-
Save cmsj/f869401a7acdd3abde13 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
- name: Ensure dotfiles repo is up to date | |
action: git repo=ssh://git@bitbucket.org/cmsj/dotfiles.git dest=~/.dotfiles version=master recursive=no | |
tags: | |
- dotfiles | |
- name: Ensure Hammerspoon repo is up to date | |
action: git repo=ssh://git@github.com/cmsj/hammerspoon-config.git dest=~/.hammerspoon version=master recursive=no | |
when: ansible_hostname == "pixukipa" | |
tags: | |
- dotfiles | |
- name: Symlink dotfiles into place on all system | |
action: file path=~/{{item.dst}} src=~/.dotfiles/{{item.src}} state=link | |
with_items: | |
- { src: ".bash_aliases", dst: ".bash_aliases" } | |
- { src: ".bash_prompt", dst: ".bash_prompt" } | |
- { src: ".bashrc", dst: ".bashrc" } | |
- { src: ".gitconfig", dst: ".gitconfig" } | |
- { src: ".gist", dst: ".gist" } | |
- { src: ".gist-vim", dst: ".gist-vim" } | |
- { src: ".inputrc", dst: ".inputrc" } | |
- { src: ".profile", dst: ".profile" } | |
- { src: ".screenrc", dst: ".screenrc" } | |
- { src: ".ssh/config", dst: ".ssh/config" } | |
- { src: ".tmux.conf", dst: ".tmux.conf" } | |
- { src: ".vim", dst: ".vim" } | |
- { src: ".vimrc", dst: ".vimrc" } | |
tags: | |
- dotfiles | |
- dotfiles_symlink | |
- name: Ensure ~/Library/KeyBindings exists on Macs | |
action: file path=~/Library/KeyBindings state=directory | |
when: ansible_distribution == "MacOSX" | |
tags: | |
- dotfiles | |
- dotfiles_symlink | |
- name: Symlink dotfiles into place on Macs | |
action: file path=~/{{item.dst}} src=~/.dotfiles/{{item.src}} state=link | |
with_items: | |
- { src: "DefaultKeyBinding.dict", dst: "Library/KeyBindings/DefaultKeyBinding.dict" } | |
when: ansible_distribution == "MacOSX" | |
tags: | |
- dotfiles | |
- dotfiles_symlink | |
- name: Update vim vundles | |
action: git repo=git://github.com/{{item.user}}/{{item.repo}} dest=~/.vim/bundle/{{item.repo}} version={{item.branch | default("master")}} recursive=no | |
with_items: | |
- { user: "gmarik", repo: "vundle" } | |
- { user: "kien", repo: "ctrlp.vim" } | |
- { user: "tpope", repo: "vim-fugitive" } | |
- { user: "mattn", repo: "gist-vim" } | |
- { user: "airblade", repo: "vim-gitgutter" } | |
- { user: "sjl", repo: "gundo.vim" } | |
- { user: "davidhalter", repo: "jedi-vim" } | |
- { user: "scrooloose", repo: "nerdtree" } | |
- { user: "scrooloose", repo: "syntastic" } | |
- { user: "majutsushi", repo: "tagbar" } | |
- { user: "mattn", repo: "webapi-vim" } | |
- { user: "vim-scripts", repo: "YankRing.vim" } | |
- { user: "bling", repo: "vim-airline" } | |
- { user: "jnurmine", repo: "Zenburn" } | |
- { user: "greyblake", repo: "vim-preview" } | |
- { user: "darfink", repo: "vim-plist" } | |
- { user: "jamessan", repo: "vim-gnupg" } | |
tags: | |
- vundle | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment