Adds the absolute certbot script path in the systemd service

This commit is contained in:
Nikolaos Kakouros
2017-09-07 00:45:47 +02:00
parent 6105075d4e
commit 4e2429a8f4
2 changed files with 11 additions and 1 deletions
+6
View File
@@ -1,5 +1,11 @@
---
- name: Resolve absolute path for certbot script
command: "which {{ certbot_script }}"
register: certbot_script_absolute
when: not certbot_install_from_source
changed_when: false
- name: Create certbot-renew service
template:
src: certbot-renew.service.j2