|
|
@ -12,12 +12,17 @@
|
|
|
|
depth: 1
|
|
|
|
depth: 1
|
|
|
|
dest: ~/.dotfiles
|
|
|
|
dest: ~/.dotfiles
|
|
|
|
recursive: yes
|
|
|
|
recursive: yes
|
|
|
|
# force: no
|
|
|
|
force: no
|
|
|
|
- command: >
|
|
|
|
- command: >
|
|
|
|
chdir={{ ansible_env.HOME }}/.dotfiles
|
|
|
|
chdir={{ ansible_env.HOME }}/.dotfiles
|
|
|
|
stow --stow --target={{ ansible_env.HOME }} {{ item }}
|
|
|
|
stow --stow --target={{ ansible_env.HOME }} {{ item }}
|
|
|
|
with_items: stow
|
|
|
|
with_items: stow
|
|
|
|
tags: stow
|
|
|
|
tags: stow
|
|
|
|
|
|
|
|
- command: >
|
|
|
|
|
|
|
|
chdir={{ ansible_env.HOME }}/.dotfiles
|
|
|
|
|
|
|
|
stow --stow --target={{ ansible_env.HOME }} osx
|
|
|
|
|
|
|
|
when: ansible_distribution == "MacOSX"
|
|
|
|
|
|
|
|
tags: stow
|
|
|
|
- file:
|
|
|
|
- file:
|
|
|
|
src: "{{ ansible_env.HOME }}/.dotfiles/{{ item.key }}"
|
|
|
|
src: "{{ ansible_env.HOME }}/.dotfiles/{{ item.key }}"
|
|
|
|
dest: "{{ ansible_env.HOME}}/{{ item.value }}"
|
|
|
|
dest: "{{ ansible_env.HOME}}/{{ item.value }}"
|
|
|
|