---

- name: 'Dotfiles'
  include_tasks: 'dotfiles.yml'
  loop: '{{ dotfiles }}'

- name: 'Check stow: {{ dotfiles_target }}'
  command:
    argv:
      - 'chkstow'
      - '--target'
      - '{{ dotfiles_target }}'
  register: result
  changed_when: result.stdout != ''