Remove old deploy hook method superseded by pre-hook and post-hook methods

This commit is contained in:
Simon Spannagel
2021-11-22 07:27:48 +01:00
parent e35a5d0fb9
commit a9a3ef77a3
3 changed files with 0 additions and 26 deletions
-14
View File
@@ -1,14 +0,0 @@
---
- name: Ensure deploy hook directory exists
file:
path: /etc/letsencrypt/renewal-hooks/deploy
state: directory
mode: 0755
when: certbot_deployhook is defined
- name: Create deploy hook
copy:
content: "{{ certbot_deployhook }}"
dest: /etc/letsencrypt/renewal-hooks/deploy/ansible.sh
mode: u+rwx
when: certbot_deployhook is defined
-4
View File
@@ -21,10 +21,6 @@
loop_control:
loop_var: cert_item
- include_tasks: install-deploy-hook.yml
when:
- certbot_create_method == 'webroot'
- include_tasks: create-cert-webroot.yml
with_items: "{{ certbot_certs }}"
when: