Skip to content

Commit 9aa9230

Browse files
committed
Force installing latest certbot
This fixes the error ``` josepy.errors.DeserializationError: Deserialization error: Could not decode 'status' ('ready'): Deserialization error: Status not recognized 2018-11-21 12:36:10,048:ERROR:certbot.log:An unexpected error occurred: ``` when generating a certificate. By checking certbot/certbot#5856 we managed to trace back to the actual version of certbot that fixes this; 0.26.1. We also found that the `letsencrypt` package does not contain all dependencies (python3-certbot) and `certbot` should be used instead.
1 parent 2276804 commit 9aa9230

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

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: letsencrypt
9+
name: certbot=0.26.1-1+ubuntu16.04.1+certbot+2
1010
state: present
1111

1212
- name: Install certbot-nginx plugin
1313
package:
14-
name: python-certbot-nginx
14+
name: python-certbot-nginx=0.25.0-2+ubuntu16.04.1+certbot+1
1515
state: present
1616

1717
- name: Check if certificate already exists

0 commit comments

Comments
 (0)