Skip to content

Commit 9e85774

Browse files
authored
Merge pull request #9 from coopdevs/feature/add_ubuntu_18.04_support
Add Ubuntu 14.04 and 18.04 support
2 parents 3580d22 + fbd0ad9 commit 9e85774

3 files changed

Lines changed: 6 additions & 4 deletions

File tree

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@ Simple Ansible role to install `certbot` with NGINX plugin on **Ubuntu 16.04**.
55

66
This role will:
77
1. Add `certbot` PPA repository
8-
2. Install `letsencrypt` and `python-certbot-certbot-nginx` packages
9-
3. `letsencrypt` package will add a `renew` cron job and a systemd-timer ([More info](https://certbot.eff.org/#ubuntuxenial-nginx)
8+
2. Install `certbot` and `python-certbot-nginx` packages
9+
3. `certbot` package will add a `renew` cron job and a systemd-timer ([More info](https://certbot.eff.org/#ubuntuxenial-nginx)
1010
4. Generate a Let's Encrypt SSL certificate for the given `domain_name`
1111

1212
Role Variables

meta/main.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,9 @@ galaxy_info:
1010
platforms:
1111
- name: Ubuntu
1212
versions:
13+
- trusty
1314
- xenial
15+
- bionic
1416

1517
galaxy_tags:
1618
- certbot

tasks/main.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,12 +6,12 @@
66

77
- name: Install certbot
88
package:
9-
name: "certbot=0.26.1-1+ubuntu{{ ansible_distribution_version }}.1+certbot+2"
9+
name: "certbot=0.28.0-1+ubuntu{{ ansible_distribution_version }}.1+certbot+4"
1010
state: present
1111

1212
- name: Install certbot-nginx plugin
1313
package:
14-
name: "python-certbot-nginx=0.25.0-2+ubuntu{{ ansible_distribution_version }}.1+certbot+1"
14+
name: "python-certbot-nginx=0.28.0-1+ubuntu{{ ansible_distribution_version }}.1+certbot+3"
1515
state: present
1616

1717
- name: Check if certificate already exists

0 commit comments

Comments
 (0)