This commit is contained in:
SebClem 2022-12-29 16:21:21 +01:00
parent 0faa91e672
commit 390c765d25
Signed by: sebclem
GPG Key ID: 5A4308F6A359EA50
2 changed files with 19 additions and 12 deletions

View File

@ -1,12 +0,0 @@
---
- name: Clean cache
ansible.builtin.file:
state: absent
path: "~{{ user.username }}/.cache/antidote/"
listen: "clean antidote"
- name: Remove .zsh_plugins.zsh
ansible.builtin.file:
state: absent
path: "~{{ user.username }}/.zsh_plugins.zsh"
listen: "clean antidote"

View File

@ -1,2 +1,21 @@
---
# handlers file for Ansible-Antidote-Role
- name: Clean cache
ansible.builtin.file:
state: absent
path: "~{{ user.username }}/.cache/antidote/"
loop: "{{ antidote_users }}"
loop_control:
loop_var: user
label: "{{ user.username }}"
listen: "clean antidote"
- name: Remove .zsh_plugins.zsh
ansible.builtin.file:
state: absent
path: "~{{ user.username }}/.zsh_plugins.zsh"
loop: "{{ antidote_users }}"
loop_control:
loop_var: user
label: "{{ user.username }}"
listen: "clean antidote"