Skip to content

Commit a90918e

Browse files
committed
bool filter and space removed
1 parent c03ec68 commit a90918e

2 files changed

Lines changed: 1 addition & 2 deletions

File tree

tasks/certificate.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,5 +23,5 @@
2323
{% endif %}
2424
{% if letsencrypt_staging %} --staging {% endif %}
2525
{% if ansible_distribution_version >= "20.04" %} --non-interactive {% endif %}
26-
when: letsencrypt_cert.stat.exists and certbot_force_update == true
26+
when: letsencrypt_cert.stat.exists and certbot_force_update | bool
2727
notify: reload nginx

tasks/main.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
---
2-
32
- name: Set Certbot package name and versions (Ubuntu >= 20.04)
43
set_fact:
54
certbot_version: 0.40.0-1

0 commit comments

Comments
 (0)