deploy default dotfiles

This commit is contained in:
Jörg Thalheim 2014-09-07 08:53:58 +02:00
parent cadadd7007
commit 6fcd16743f

View File

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