diff --git a/roles/nginx/tasks/vhosts.yml b/roles/nginx/tasks/vhosts.yml index 714f737..7216d46 100644 --- a/roles/nginx/tasks/vhosts.yml +++ b/roles/nginx/tasks/vhosts.yml @@ -33,7 +33,7 @@ tags: wordpress - include: letsencrypt.yml - when: use_letsencrypt == 'yes' + when: use_letsencrypt is defined and use_letsencrypt == 'yes' tags: letsencrypt # vim: set ts=2 sw=2: