You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
14 lines
367 B
14 lines
367 B
---
|
|
- 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
|
|
|