summaryrefslogtreecommitdiffstats
path: root/ansible/roles/certificates/handlers/main.yml
diff options
context:
space:
mode:
Diffstat (limited to 'ansible/roles/certificates/handlers/main.yml')
-rw-r--r--ansible/roles/certificates/handlers/main.yml5
1 files changed, 5 insertions, 0 deletions
diff --git a/ansible/roles/certificates/handlers/main.yml b/ansible/roles/certificates/handlers/main.yml
new file mode 100644
index 00000000..b2b81223
--- /dev/null
+++ b/ansible/roles/certificates/handlers/main.yml
@@ -0,0 +1,5 @@
+---
+- name: Extract root certificate
+ command: /usr/bin/update-ca-trust extract
+ changed_when: true # this handler is executed just when there is a new cert
+ notify: Restart Docker