Skip to content

Commit 7a2e474

Browse files
authored
Merge pull request #106 from anadahz/feature/le-staging
Add doc and tasks to generate letsencrypt staging certificates
2 parents ed5b857 + bdd51e9 commit 7a2e474

File tree

3 files changed

+4
-2
lines changed

3 files changed

+4
-2
lines changed

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ Also check [Before you install](https://docs.bigbluebutton.org/2.2/install.html#
1919
| `bbb_apt_mirror` | apt repo server for BigBlueButton packages | `https://ubuntu.bigbluebutton.org` | other value would be e.g. `https://packages-eu.bigbluebutton.org` |
2020
| `bbb_letsencrypt_enable` | Enable letsencrypt/HTTPS | `yes` |
2121
| `bbb_letsencrypt_email` | E-mail for use with letsencrypt | | _(required when letsencrypt is enabled)_ |
22+
| `bbb_letsencrypt_api` | Set letsencrypt api | `https://acme-v02.api.letsencrypt.org/directory` | Use this variable to change letsencrypt API URL (example: staging API `https://acme-staging-v02.api.letsencrypt.org/directory`) |
2223
| `bbb_nginx_privacy` | only log errors not access | `yes` |
2324
| `bbb_nginx_listen_https` | nginx: use https | `yes` | This is useful for a reverse proxy configuration where the BBB server is behind a load balancing server like haproxy that does SSL termination |
2425
| `bbb_nginx_root` | Default nginx www path of BigBlueButton | `/var/www/bigbluebutton-default` | Set the default nginx `www` path of BigBlueButton |

defaults/main.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ bbb_hostname: "{{ ansible_fqdn }}"
33
bbb_state: "present"
44
bbb_upgrade_packages: "{% if bbb_state == 'latest'%}yes{% else %}no{%endif%}"
55
bbb_letsencrypt_enable: true
6+
bbb_letsencrypt_api: https://acme-v02.api.letsencrypt.org/directory
67
bbb_nginx_privacy: true
78
bbb_nginx_listen_https: true
89
bbb_nginx_root: /var/www/bigbluebutton-default

tasks/letsencrypt.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,11 +13,11 @@
1313
update_cache: true
1414
state: "{{ bbb_state }}"
1515

16-
- name: Change Let's Encrypt API to v2
16+
- name: Set Let's Encrypt API
1717
become: true
1818
lineinfile:
1919
path: /etc/letsencrypt/cli.ini
20-
line: 'server = https://acme-v02.api.letsencrypt.org/directory'
20+
line: "server = {{ bbb_letsencrypt_api }}"
2121

2222
- name: Register certbot certificate file
2323
stat:

0 commit comments

Comments
 (0)