mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2025-08-29 15:06:26 +02:00
Improved performance by executing tasks just once per host
This commit is contained in:
12
roles/nginx-certbot/handlers/main.yml
Normal file
12
roles/nginx-certbot/handlers/main.yml
Normal file
@@ -0,0 +1,12 @@
|
||||
- name: "reload certbot service"
|
||||
systemd:
|
||||
name: certbot.service
|
||||
state: reloaded
|
||||
enabled: yes
|
||||
daemon_reload: yes
|
||||
- name: "restart certbot timer"
|
||||
systemd:
|
||||
name: certbot.timer
|
||||
state: restarted
|
||||
enabled: yes
|
||||
daemon_reload: yes
|
Reference in New Issue
Block a user