1 | 1 |
new file mode 100644 |
... | ... |
@@ -0,0 +1,14 @@ |
1 |
+--- |
|
2 |
+ |
|
3 |
+- name: 'Dotfiles' |
|
4 |
+ include_tasks: 'dotfiles.yml' |
|
5 |
+ loop: '{{ dotfiles }}' |
|
6 |
+ |
|
7 |
+- name: 'Check stow: {{ dotfiles_target }}' |
|
8 |
+ command: |
|
9 |
+ argv: |
|
10 |
+ - 'chkstow' |
|
11 |
+ - '--target' |
|
12 |
+ - '{{ dotfiles_target }}' |
|
13 |
+ register: result |
|
14 |
+ changed_when: result.stdout != '' |