ansible-antidote-role/handlers/main.yml

22 lines
535 B
YAML
Raw Normal View History

2022-11-12 19:54:23 +01:00
---
# handlers file for Ansible-Antidote-Role
2022-12-29 16:21:21 +01:00
- 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"