Browse Source

deploy default dotfiles

master
Jörg Thalheim 7 years ago
parent
commit
6fcd16743f
  1. 14
      roles/container/tasks/main.yml

14
roles/container/tasks/main.yml

@ -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…
Cancel
Save