added task for setting symbolic links to dotfiles

This commit is contained in:
2022-02-20 14:53:45 +01:00
parent 88c68d844f
commit 1972e75382
2 changed files with 26 additions and 0 deletions

View File

@@ -49,6 +49,19 @@
- {repo: 'ssh://git@gitlab.social.my-wan.de:22422/rene/dotfiles.git', dir: 'dotfiles'}
- {repo: 'https://github.com/romkatv/powerlevel10k.git', dir: 'powerlevel10k'}
- name: users | rene | link dotfiles
become: yes
become_user: rene
file:
state: link
src: "/home/rene/dotfiles/{{ item.src }}"
path: "home/rene/{{ 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' }
########################################################
# Learn Linux TV examples
########################################################