File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -5,8 +5,8 @@ Simple Ansible role to install `certbot` with NGINX plugin on **Ubuntu 16.04**.
55
66This role will:
771 . 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 )
10104 . Generate a Let's Encrypt SSL certificate for the given ` domain_name `
1111
1212Role Variables
Original file line number Diff line number Diff 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
Original file line number Diff line number Diff line change 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
You can’t perform that action at this time.
0 commit comments