summaryrefslogtreecommitdiff
path: root/roles/x509/acmetool/base/tasks
diff options
context:
space:
mode:
authorChristian Pointner <equinox@spreadspace.org>2022-12-23 03:35:46 +0100
committerChristian Pointner <equinox@spreadspace.org>2022-12-23 03:35:46 +0100
commit6132ae855f999b70092552a9ceed4fec451cc8f7 (patch)
tree16a897cff15fa41bcc94d02dfd01c95e672b47d5 /roles/x509/acmetool/base/tasks
parentacmetool: minor refactroing (diff)
some initial tests with uacme
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: