on_premises/roles/server_iso/handlers/main.yml

16 lines
326 B
YAML

---
- name: Set mode
ansible.builtin.file:
path: "{{ tmp_iso_path['path'] }}"
state: directory
mode: 0744
recurse: true
listen: Server ISO cleanup
delegate_to: localhost
- name: Server ISO cleanup
ansible.builtin.file:
path: "{{ tmp_iso_path['path'] }}"
state: absent
delegate_to: localhost