diff options
Diffstat (limited to 'roles/x509/acmetool/base/tasks')
-rw-r--r-- | roles/x509/acmetool/base/tasks/main.yml | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/roles/x509/acmetool/base/tasks/main.yml b/roles/x509/acmetool/base/tasks/main.yml index c2934b38..bb54db93 100644 --- a/roles/x509/acmetool/base/tasks/main.yml +++ b/roles/x509/acmetool/base/tasks/main.yml @@ -2,7 +2,8 @@ - name: check if acmetool package is new enough assert: msg: "Your distribution does contain an outdated version of acmetool" - that: (ansible_distribution == 'Debian' and (ansible_distribution_major_version | int) >= 11) or (ansible_distribution == 'Ubuntu' and (ansible_distribution_major_version | int) >= 20) + that: (ansible_distribution == 'Debian' and (ansible_distribution_release | debian_release_compare('>=', 'bullseye'))) or + (ansible_distribution == 'Ubuntu' and (ansible_distribution_release | ubuntu_release_compare('>=', 'focal'))) - name: install needed packages apt: |