You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

30 lines
538 B

- hosts: all
tasks:
- name: Symlink dotfiles
file:
src: ~/.dotfiles/{{ item }}
dest: ~/{{ item }}
state: link
loop:
- .config
- .gitconfig
- .hammerspoon
- .local
- .ssh
- .tmux.conf
- .zsh
- name: Symlink Prezto
file:
src: ~/.dotfiles/.zprezto
dest: ~/.zprezto
state: link
- name: Symlink Prezto runcoms
file:
src: "{{ item }}"
dest: ~/.{{ item | basename }}
state: link
with_fileglob: "~/.zprezto/runcoms/z*"