roles: Fix syntax for testing booleans

ansible-lint told me not to test equality with booleans using literal
"True" and "False", but it Ansible complains if I use "is True" also.
It seems that I need to adjust the syntax slightly.
This commit is contained in:
2019-11-26 11:19:22 +02:00
parent 1c631739e7
commit aa1dac8c30
5 changed files with 6 additions and 6 deletions

View File

@ -71,7 +71,7 @@
- name: Configure Let's Encrypt
include_tasks: letsencrypt.yml
when: use_letsencrypt is defined and use_letsencrypt is True
when: use_letsencrypt is defined and use_letsencrypt
tags: letsencrypt
# vim: set ts=2 sw=2: