deploy default dotfiles
This commit is contained in:
parent
cadadd7007
commit
6fcd16743f
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user