--- - name: remove borg packet package: name: borgbackup state: absent - name: remove borg script file: path: /usr/local/bin/borgbackup.sh state: absent - name: remove cache dirs file: path: "{{ item }}" state: absent loop: - "/root/.cache/borg" - "/root/.config/borg" - name: remove cron cron: name: "borg backup script" state: absent