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:
parent
f798e47ad8
commit
2a78c5cf59
@ -33,7 +33,7 @@
|
|||||||
tags: wordpress
|
tags: wordpress
|
||||||
|
|
||||||
- include: letsencrypt.yml
|
- include: letsencrypt.yml
|
||||||
when: use_letsencrypt == 'yes'
|
when: use_letsencrypt is defined and use_letsencrypt == 'yes'
|
||||||
tags: letsencrypt
|
tags: letsencrypt
|
||||||
|
|
||||||
# vim: set ts=2 sw=2:
|
# vim: set ts=2 sw=2:
|
||||||
|
Loading…
Reference in New Issue
Block a user