1 | 1 |
new file mode 100644 |
... | ... |
@@ -0,0 +1,20 @@ |
1 |
+--- |
|
2 |
+ |
|
3 |
+- name: 'Clone {{ item | basename }}' |
|
4 |
+ git: |
|
5 |
+ repo: '{{ item }}' |
|
6 |
+ dest: '{{ dotfiles_dir }}/{{ item | basename }}' |
|
7 |
+ |
|
8 |
+- name: 'Stow {{ item | basename }}' |
|
9 |
+ command: |
|
10 |
+ argv: |
|
11 |
+ - 'stow' |
|
12 |
+ - '--verbose' |
|
13 |
+ - '--no-folding' |
|
14 |
+ - '--dir' |
|
15 |
+ - '{{ dotfiles_dir }}' |
|
16 |
+ - '--target' |
|
17 |
+ - '{{ dotfiles_target }}' |
|
18 |
+ - '{{ item | basename }}' |
|
19 |
+ register: result |
|
20 |
+ changed_when: result.stderr != '' |