Ansible roles
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

19 lines
431 B

---
- name: Remove plugins archives
file:
path: "{{ glpi_root_dir }}/tmp/{{ glpi_plugins[item].url | urlsplit('path') | basename }}"
state: absent
with_items: "{{ glpi_plugins_to_install }}"
when: glpi_plugins[item] is defined
tags: glpi
- name: Remove temp files
file: path={{ glpi_root_dir }}/tmp/{{ item }} state=absent
with_items:
- glpi
- glpi-{{ glpi_version }}.tgz
- glpi.sql
tags: glpi