forked from evolix/ansible-roles
Jérémy Lecour
8ea1bac000
* certbot is installed by the certbot role * Apache/Nginx configuration is delegated to the certbot role * No more "acme" user, everything is done with "root".
24 lines
514 B
YAML
24 lines
514 B
YAML
---
|
|
- 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"
|