summaryrefslogtreecommitdiff
path: root/roles/x509/acmetool/base/tasks
diff options
context:
space:
mode:
Diffstat (limited to 'roles/x509/acmetool/base/tasks')
-rw-r--r--roles/x509/acmetool/base/tasks/main.yml4
1 files changed, 2 insertions, 2 deletions
diff --git a/roles/x509/acmetool/base/tasks/main.yml b/roles/x509/acmetool/base/tasks/main.yml
index 5ad03257..7a53906b 100644
--- a/roles/x509/acmetool/base/tasks/main.yml
+++ b/roles/x509/acmetool/base/tasks/main.yml
@@ -22,10 +22,10 @@
dest: /var/lib/acme/conf/responses
- name: create non-standard acmetool webroot path
+ when: acmetool_challenge_webroot_path is defined
file:
name: "{{ acmetool_challenge_webroot_path }}"
state: directory
- when: acmetool_challenge_webroot_path is defined
- name: run quickstart to create account and default target configuration
command: acmetool --batch quickstart
@@ -39,13 +39,13 @@
include_tasks: selfsigned.yml
- name: install service reload configuration
+ when: acmetool_reload_services is defined
template:
src: acme-reload.j2
dest: /etc/default/acme-reload
owner: root
group: root
mode: 0644
- when: acmetool_reload_services is defined
- name: create system unit snippet directory
file: