Fix deprecation warning (using cron module without name)

This commit is contained in:
Slavi Pantaleev 2019-07-09 09:11:38 +03:00
parent 76862f4f2a
commit 1316d36f8b

View File

@ -103,11 +103,11 @@
state: absent
when: "not matrix_nginx_proxy_enabled|bool"
# When Let's Encrypt is not used at all, remove all cronjobs in that cron file.
- name: Ensure matrix-ssl-lets-encrypt-renew cronjob removed
cron:
user: root
cron_file: matrix-ssl-lets-encrypt
name: matrix-ssl-lets-encrypt-certificates-renew
state: absent
when: "matrix_ssl_retrieval_method != 'lets-encrypt'"