Fix deprecation

This commit is contained in:
Alex Kotov 2020-01-14 17:05:26 +05:00
parent 2bebad039b
commit dc29e29736
Signed by: kotovalexarian
GPG Key ID: 553C0EBBEB5D5F08
1 changed files with 1 additions and 1 deletions

View File

@ -34,7 +34,7 @@
- name: Obtain Let's Encrypt certificate
command: 'certbot certonly'
register: common__certbot__result
when: common__certbot__run
when: common__certbot__run|bool
changed_when: >-
common__certbot__result.stdout is
not search('Certificate not yet due for renewal; no action taken.')