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.

14 lines
312 B

2 years ago
- hosts: all
tasks:
2 years ago
- name: List dotfiles
shell: ls -A ~/.dotfiles | grep '^\.'
register: ls_dotfiles
2 years ago
- name: Symlink dotfiles
file:
src: ~/.dotfiles/{{ item }}
dest: ~/{{ item }}
state: link
2 years ago
loop: "{{ ls_dotfiles.stdout_lines | difference(['.git', '.gitmodules']) }}"