tasks/dotfiles.yml
ca832d6c
 ---
 
 - name: 'Clone {{ item | basename }}'
   git:
     repo: '{{ item }}'
     dest: '{{ dotfiles_dir }}/{{ item | basename }}'
 
 - name: 'Stow {{ item | basename }}'
   command:
     argv:
       - 'stow'
       - '--verbose'
       - '--no-folding'
       - '--dir'
       - '{{ dotfiles_dir }}'
       - '--target'
       - '{{ dotfiles_target }}'
       - '{{ item | basename }}'
   register: result
   changed_when: result.stderr != ''