summaryrefslogtreecommitdiff
path: root/roles/acmetool/cert/tasks
diff options
context:
space:
mode:
authorChristian Pointner <equinox@spreadspace.org>2018-10-08 17:46:04 +0200
committerChristian Pointner <equinox@spreadspace.org>2018-10-08 17:46:04 +0200
commite984ec2ccfd542ef02206d498d30387a81e369d4 (patch)
tree5a531ede8a8a81389be279c9c2f3469aa5964afc /roles/acmetool/cert/tasks
parentadded acmetool snakeoil cert for bootstraping (diff)
fixed acmetool self-signed cert handling
Diffstat (limited to 'roles/acmetool/cert/tasks')
-rw-r--r--roles/acmetool/cert/tasks/main.yml4
1 files changed, 3 insertions, 1 deletions
diff --git a/roles/acmetool/cert/tasks/main.yml b/roles/acmetool/cert/tasks/main.yml
index a24ea2ed..c5d5348e 100644
--- a/roles/acmetool/cert/tasks/main.yml
+++ b/roles/acmetool/cert/tasks/main.yml
@@ -4,7 +4,9 @@
dest: "/var/lib/acme/desired/{{ acmetool_cert_name }}"
with_items:
- satisfy:
- names: "{{ acmetool_cert_hostnames }}"
+ names: "{{ acmetool_cert_hostnames | default([acmetool_cert_name]) }}"
+ loop_control:
+ label: "{{ item.satisfy.names | join(', ') }}"
- name: reconcile acmetool
systemd: