added task for setting symbolic links to dotfiles
This commit is contained in:
@@ -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
|
||||
######################################################
|
||||
|
||||
Reference in New Issue
Block a user