-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathplaybook.yml
More file actions
31 lines (27 loc) · 1.06 KB
/
playbook.yml
File metadata and controls
31 lines (27 loc) · 1.06 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
---
- hosts: all
tasks:
- name: Dots | Install common soft
sudo: yes
apt: name={{item}} state=latest update_cache=yes
with_items:
- git
- tmux
- grc
- vim
- vim-nox
- name: Dots | Fetch dots
git: repo=https://github.com/StyleEX/dots.git accept_hostkey=yes dest=~/dots recursive=no
- name: Dots | Install vundle
git: repo=https://github.com/gmarik/vundle.git dest=~/.vim/bundle/vundle
- name: Dots | Link config files
file: src={{item.src}} dest={{item.dest}} state=link
with_items:
- { src: '~/dots/dots/mysql/.my.cnf', dest: '~/.my.cnf' }
- { src: '~/dots/dots/grc/.grcat', dest: '~/.grcat' }
- { src: '~/dots/dots/git/.gitconfig', dest: '~/.gitconfig' }
- { src: '~/dots/dots/vim/.vimrc', dest: '~/.vimrc' }
- { src: '~/dots/dots/bash/.bashrc', dest: '~/.bashrc' }
- { src: '~/dots/dots/tmux/.tmux.conf', dest: '~/.tmux.conf' }
- name: Dots | Install vim plugins
command: vim +PluginInstall +qall