summaryrefslogtreecommitdiff
path: root/tasks/main.yml
diff options
context:
space:
mode:
Diffstat (limited to 'tasks/main.yml')
-rw-r--r--tasks/main.yml2
1 files changed, 1 insertions, 1 deletions
diff --git a/tasks/main.yml b/tasks/main.yml
index b788abb..abcb785 100644
--- a/tasks/main.yml
+++ b/tasks/main.yml
@@ -74,7 +74,7 @@
fi
{% for item in acmesh_domains %}
- if ! [ -d "certs/{{item}}" ] || ! [ -z "$force" ] ; then
+ if ! [ -f "certs/{{item}}/{{item}}.cer" ] || ! [ -z "$force" ] ; then
acme.sh {{acmesh_flags | replace('\n', ' ')}} \
$force \
--issue \