Alpha Chen 2 years ago
parent fcdaaaca08
commit 674bf386e3
No known key found for this signature in database

@ -1,25 +1,16 @@
- hosts: all - hosts: all
tasks: tasks:
- name: List dotfiles
shell: ls -A ~/.dotfiles | grep '^\.'
register: ls_dotfiles
- name: Symlink dotfiles - name: Symlink dotfiles
file: file:
src: ~/.dotfiles/{{ item }} src: ~/.dotfiles/{{ item }}
dest: ~/{{ item }} dest: ~/{{ item }}
state: link state: link
loop: loop: "{{ ls_dotfiles.stdout_lines | difference(['.git', '.gitmodules']) }}"
- .config
- .gitconfig
- .hammerspoon
- .local
- .ssh
- .tmux.conf
- .zsh
- name: Symlink Prezto
file:
src: ~/.dotfiles/.zprezto
dest: ~/.zprezto
state: link
- name: Symlink Prezto runcoms - name: Symlink Prezto runcoms
file: file:

Loading…
Cancel
Save