ansible-antidote-role/handlers/main.yml
2022-12-29 16:25:06 +01:00

22 lines
535 B
YAML

---
# 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"