roles/nginx: Add sanity check for use_letsencrypt variable

Not all hosts will have this, so this task will flat out fail. We
better check to see if it exists before we try to use it. ;)
This commit is contained in:
Alan Orth 2016-08-17 12:27:24 +03:00
parent f798e47ad8
commit 2a78c5cf59
Signed by: alanorth
GPG Key ID: 0FB860CC9C45B1B9

View File

@ -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: