--- - name: Apply dotfiles command: "stow --target /home/{{ user_name }}/ --dir /home/{{ user_name }}/.local/share/dotfiles {{ item }}" with_items: - dunst - i3 - i3status - latexmk - less - mailcap - notmuch - pass - ssh - x - xdg-user-dirs - name: Checkout private dotfiles git: dest: "/home/{{ user_name }}/.local/share/dotfiles-private" repo: "{{ dotfiles_private }}" verify_commit: yes - name: Check .bashrc status stat: path: "/home/{{ user_name }}/.bashrc" register: bashrc - name: Delete bashrc if not a link file: path: "/home/{{ user_name }}/.bashrc" state: absent when: bashrc.stat.islnk is defined and bashrc.stat.islnk == False - name: Apply private dotfiles command: "stow --target /home/{{ user_name }}/ --dir /home/{{ user_name }}/.local/share/dotfiles-private {{ item }}" with_items: - bash - git - irssi - khard - mbsync - mutt - msmtp - netrcpw - notmuch - ssh - streamlink - stterm-vim - vdirsyncer - X11 - youtube-dl