mirror of
https://github.com/spantaleev/matrix-docker-ansible-deploy.git
synced 2024-11-09 00:52:30 +00:00
2a1ec38e3a
This is mainly to address SSL renewal not working for us due to: - https://github.com/ansible/ansible/issues/71213 - https://github.com/ansible/ansible/pull/71207 Using the cron module was hacky anyway. We shouldn't need an extra level of buggy abstraction to manage a cronjob file.
6 lines
274 B
Django/Jinja
6 lines
274 B
Django/Jinja
MAILTO="{{ matrix_ssl_lets_encrypt_support_email }}"
|
|
15 4 * * * root {{ matrix_local_bin_path }}/matrix-ssl-lets-encrypt-certificates-renew
|
|
{% if matrix_nginx_proxy_enabled %}
|
|
20 5 * * * root {{ matrix_host_command_systemctl }} reload matrix-nginx-proxy.service
|
|
{% endif %}
|