diff --git a/roles/nginx/tasks/letsencrypt.yml b/roles/nginx/tasks/letsencrypt.yml index fc19bc4..03653ce 100644 --- a/roles/nginx/tasks/letsencrypt.yml +++ b/roles/nginx/tasks/letsencrypt.yml @@ -85,7 +85,7 @@ daemon_reload: true when: (ansible_distribution == 'Ubuntu' and ansible_distribution_version is version('20.04', '==')) - or (ansible_distribution == 'Debian' and ansible_distribution_version is version('11', '==')) + or (ansible_distribution == 'Debian' and ansible_distribution_version is version('11', '>=')) tags: letsencrypt # vim: set ts=2 sw=2: