ansible-acme-sh/handlers/main.yml

14 lines
315 B
YAML

- name: "reload services"
command: "{{ item.reload_command }}"
when:
- issue_result.results[domains_index].changed
- item.reload_command
loop: "{{ acme_sh_domains }}"
loop_control:
index_var: domains_index
- name: "Delete temporary"
file:
path: "{{ acme_sh_dir.path }}"
state: absent