added task for setting symbolic links to dotfiles

This commit is contained in:
rene committed 2022-02-20 14:53:45 +01:00
1 parent 88c68d844f
commit 1972e75382
2 files changed
+26

No files matched your search

+13
View File
@@ -55,6 +55,19 @@
dest: "{{ root_home }}/bin"
key_file: '/root/.ssh/gitlab_read_ed25519'
- name: users | root | link dotfiles
become: yes
become_user: root
file:
state: link
src: "/home/root/dotfiles/{{ item.src }}"
path: "home/root/{{ 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 example
######################################################