Run cert generation only on frontend change

This commit is contained in:
Dryusdan 2024-04-19 11:20:49 +02:00
parent e149637d59
commit 1bdf7ae951

View file

@ -120,6 +120,8 @@
loop: "{{ hap_frontends }}"
loop_control:
loop_var: frontend
when:
- frontends.success
tags:
- configuration
- config
@ -130,6 +132,8 @@
recurse: no
file_type: directory
register: find_certs
when:
- frontends.success
tags:
- configuration
- config
@ -139,6 +143,8 @@
loop: "{{ find_certs['files'] }}"
loop_control:
loop_var: certs
when:
- frontends.success
tags:
- configuration
- config