mirror of
https://github.com/geerlingguy/ansible-role-certbot.git
synced 2026-08-25 01:05:36 +02:00
Remove old deploy hook method superseded by pre-hook and post-hook methods
This commit is contained in:
@@ -58,11 +58,3 @@ certbot_keep_updated: true
|
||||
|
||||
# Where to put Certbot when installing from source.
|
||||
certbot_dir: /opt/certbot
|
||||
|
||||
# Restart this service after successful certificate creation:
|
||||
certbot_deployhook: |
|
||||
{% for service in certbot_create_standalone_stop_services %}
|
||||
if systemctl list-unit-files | grep -q "^{{ service }}.service"; then
|
||||
systemctl restart {{ service }}
|
||||
fi
|
||||
{% endfor %}
|
||||
|
||||
Reference in New Issue
Block a user