aboutsummaryrefslogtreecommitdiffstats
path: root/roles/acme/tasks
diff options
context:
space:
mode:
authorRomain Gonçalves <me@rgoncalves.se>2024-02-10 11:07:00 +0100
committerRomain Gonçalves <me@rgoncalves.se>2024-02-10 11:07:00 +0100
commit075faa3ab59f2e5569cbd7c947251135e378e211 (patch)
tree1585d0c8e3883dbd9cbd255490b009c825e0d083 /roles/acme/tasks
parentadfb09b9e19f7a31632eab01171693cb81ec75ef (diff)
downloadrules-075faa3ab59f2e5569cbd7c947251135e378e211.tar.gz
fix(roles/acme): restart relayd on new certificates only
Diffstat (limited to 'roles/acme/tasks')
-rw-r--r--roles/acme/tasks/main.yml1
1 files changed, 1 insertions, 0 deletions
diff --git a/roles/acme/tasks/main.yml b/roles/acme/tasks/main.yml
index 0435265..946df95 100644
--- a/roles/acme/tasks/main.yml
+++ b/roles/acme/tasks/main.yml
@@ -39,3 +39,4 @@
ansible.builtin.service:
name: relayd
state: restarted
+ when: acme__result_generation.changed
remember that computers suck.