ansible-roles/evoacme/tasks/certbot.yml
Jérémy Lecour f940bc3866
All checks were successful
continuous-integration/drone/push Build is passing
cerbot: use the legacy script on Debian 8 and 9
2021-02-04 16:34:24 +01:00

28 lines
599 B
YAML

---
- name: Do no install certbot crontab
set_fact:
certbot_custom_crontab: False
- include_role:
name: evolix/certbot
- include_role:
name: evolix/remount-usr
- name: Disable /etc/cron.d/certbot
command: mv -f /etc/cron.d/certbot /etc/cron.d/certbot.disabled
args:
removes: /etc/cron.d/certbot
- name: Disable /etc/cron.daily/certbot
command: mv -f /etc/cron.daily/certbot /etc/cron.daily/certbot.disabled
args:
removes: /etc/cron.daily/certbot
- name: Install evoacme custom cron
copy:
src: evoacme.cron
dest: /etc/cron.daily/evoacme
mode: "0755"