Skip to content

Commit

Permalink
And suddenly, without warning, letsencrypt renamed their repo...
Browse files Browse the repository at this point in the history
Now it is certbot/certbot.
  • Loading branch information
jaywink committed May 14, 2016
1 parent 437f4b3 commit b92d0a0
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 5 deletions.
7 changes: 4 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ Stability: alpha.

### What does it do?

This role will pull in the official [LetsEncrypt client](https://github.com/letsencrypt/letsencrypt), install it and issue or renew a certificate with your chosen domain.
This role will pull in the official [Certbot client](https://github.com/certbot/certbot), install it and issue or renew a certificate with your chosen domain.

Currently the role is of limited functionality as follows:
* Tested on Ubuntu 14.04
Expand All @@ -18,8 +18,8 @@ PR's are welcome to include more functionality.

#### More detail

* The client will be installed in `/opt/letsencrypt` as root
* Each run will pull in the latest LetsEncrypt client code
* The client will be installed in `/opt/certbot` as root
* Each run will pull in the latest Certbot client code
* The role will stop Apache2 before requesting a cert
* `certonly` mode is used, which means no automatic web server installation
* After cert issuing, you can find it in `/etc/letsencrypt/live/<domainname>`
Expand All @@ -33,6 +33,7 @@ PR's are welcome to include more functionality.
* Note! If this role fails in the cert request part, you will have a stopped Apache2!
* If the cert has been requested before, this role will automatically try to renew it, if possible.
* A `www.` subdomain will automatically be requested along with the certificate.
### Requirements
Expand Down
2 changes: 1 addition & 1 deletion tasks/cert.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@
- name: Stop Apache2
service: name=apache2 state=stopped
- name: Obtain or renew cert for domain
shell: executable=/bin/bash cd /opt/letsencrypt && ./letsencrypt-auto certonly -m {{ letsencrypt_email }} --domains {{ letsencrypt_domain }},www.{{ letsencrypt_domain }} --agree-tos --renew-by-default --standalone --expand
shell: executable=/bin/bash cd /opt/certbot && ./certbot-auto certonly -m {{ letsencrypt_email }} --domains {{ letsencrypt_domain }},www.{{ letsencrypt_domain }} --agree-tos --renew-by-default --standalone --expand
- name: Start Apache2
service: name=apache2 state=started
2 changes: 1 addition & 1 deletion tasks/client.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,4 +16,4 @@
- name: Python cryptography module
pip: name=cryptography
- name: Letsencrypt Python client
git: dest=/opt/letsencrypt clone=yes repo=https://github.com/letsencrypt/letsencrypt force=yes
git: dest=/opt/certbot clone=yes repo=https://github.com/certbot/certbot force=yes

0 comments on commit b92d0a0

Please sign in to comment.