also reload docker when certificates change
fix#reload-certs
@@ -98,3 +98,7 @@ docker-reload-config:
- reload: True
- onchanges:
- file: /etc/docker/daemon.json
+ {% for cert_tuple in certs.items() %}
+ {% set name, _cert = cert_tuple %}
+ - file: /etc/docker/certs.d/{{ name }}/ca.crt
+ {% endfor %}
