computer-playbook/roles/native-certbot-nginx/tasks/main.yml

17 lines
399 B
YAML
Raw Normal View History

2020-12-24 14:27:31 +01:00
- name: install certbot
pacman:
name: [certbot,certbot-nginx]
state: present
- name: configure certbot.service.tpl
template:
src: certbot.service.j2
dest: /etc/systemd/system/certbot.service
notify: reload certbot service
2020-12-24 14:27:31 +01:00
- name: configure certbot.timer.tpl
template:
src: certbot.timer.j2
dest: /etc/systemd/system/certbot.timer
2020-12-24 14:27:31 +01:00
notify: restart certbot timer