mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2025-09-03 17:06:02 +02:00
Merged client playbook and server playbook
This commit is contained in:
16
roles/server_native-certbot-nginx/tasks/main.yml
Normal file
16
roles/server_native-certbot-nginx/tasks/main.yml
Normal file
@@ -0,0 +1,16 @@
|
||||
- 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
|
||||
|
||||
- name: configure certbot.timer.tpl
|
||||
template:
|
||||
src: certbot.timer.j2
|
||||
dest: /etc/systemd/system/certbot.timer
|
||||
notify: restart certbot timer
|
Reference in New Issue
Block a user