---

- name: Remove temp and obsolete files
  file: path={{ etherpad_root_dir }}/{{ item }} state=absent
  loop:
    - tmp/etherpad-lite-{{ etherpad_version }}
    - tmp/etherpad-lite-{{ etherpad_version }}.tar.gz
    - web
    - db_dumps
  tags: etherpad
