deploy default dotfiles

This commit is contained in:
Jörg Thalheim 2014-09-07 08:53:58 +02:00
parent cadadd7007
commit 6fcd16743f
1 changed files with 8 additions and 6 deletions

View File

@ -15,12 +15,14 @@
file: path=/root/.oh-my-zsh state=absent
- name: delete .zshrc
file: path=/root/.zshrs state=absent
- name: deploy .bashrc
copy: src=bashrc dest=/root/.bashrc
- name: deploy .dircolors
copy: src=dircolors dest=/root/.dircolors
- name: deploy dotfiles
copy: src={{ item }} dest=/root/.{{ item }}
with_items:
- bashrc
- dircolors
- vimrc
- mount: name=/run/systemd/journal/ src=/mnt/journal fstype=none opts=bind,ro state=present
- name: deploy .vimrc
copy: src=vimrc dest=/root/.vimrc
- name: backup directory
file: path=/root/.vim.backupdir state=directory