mirror of
https://github.com/geerlingguy/ansible-role-certbot.git
synced 2025-04-19 17:01:37 +02:00
Ensure debian-like distributions get the latest version of certbot
- Remove the non-standard Ubuntu 16.04 package and script name (letsencrypt vs certbot) - Add the EFF-maintained certbot PPA
This commit is contained in:
parent
60d805f41b
commit
ae4e10c5a4
@ -1,4 +1,9 @@
|
||||
---
|
||||
- name: Ensure package repo is present
|
||||
apt_repository:
|
||||
repo: ppa:certbot/certbot
|
||||
when: ansible_distribution == "Ubuntu" or ansible_distribution == "Debian"
|
||||
|
||||
- name: Install Certbot.
|
||||
package: "name={{ certbot_package }} state=present"
|
||||
|
||||
|
@ -1,2 +0,0 @@
|
||||
---
|
||||
certbot_package: letsencrypt
|
Loading…
x
Reference in New Issue
Block a user