Skip to content

Commit

Permalink
Merge pull request #32 from coopdevs/feat/ubuntu22
Browse files Browse the repository at this point in the history
feat: Added support for Ubuntu 22.04
  • Loading branch information
oyale authored Jan 23, 2023
2 parents e01943c + 0a8b040 commit ade9205
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion tasks/main.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,17 @@
---
- name: Set Certbot package name and versions (Ubuntu >= 22.04)
set_fact:
certbot_version: 1.21.0-1build1
certbot_nginx_version: 1.21.0-1
certbot_nginx_name: python3-certbot-nginx
when: ansible_distribution_version >= "22.04"

- name: Set Certbot package name and versions (Ubuntu >= 20.04)
set_fact:
certbot_version: 0.40.0-1ubuntu0.1
certbot_nginx_version: 0.40.0-0ubuntu0.1
certbot_nginx_name: python3-certbot-nginx
when: ansible_distribution_version >= "20.04"
when: ansible_distribution_version >= "20.04" and ansible_distribution_version < "22.04"

- name: Set Certbot package name and versions (Ubuntu < 20.04)
set_fact:
Expand Down

0 comments on commit ade9205

Please sign in to comment.