force symlinks

This commit is contained in:
2022-02-20 19:32:51 +01:00
parent a22d0827f4
commit f010681df0

View File

@@ -44,10 +44,11 @@
become_user: '{{ user }}'
file:
state: link
force: True
src: "/home/{{ user }}/dotfiles/{{ item.src }}"
path: "/home/{{ user }}/{{ item.dest }}"
with_items:
- { src: 'vim/vimrc', dest: '.vimrc' }
- { src: 'bash/bashrc', dest: '.bashrc' }
- { src: 'zsh/zshrc', dest: '.zshrc' }
- { src: 'tmux/tmux.conf', dest: '.tmux.conf' }
- { src: 'tmux/tmux.conf', dest: '.tmux.conf' }