certbot für mumble dazu
This commit is contained in:
parent
4363b3d040
commit
5c4ee01e71
5 changed files with 27 additions and 1 deletions
1
playbooks/roles/certbot/defaults/main.yaml
Normal file
1
playbooks/roles/certbot/defaults/main.yaml
Normal file
|
@ -0,0 +1 @@
|
|||
certbot__http_01_port: 31820
|
|
@ -19,3 +19,10 @@ argument_specs:
|
|||
type: list
|
||||
elements: str
|
||||
required: true
|
||||
certbot__http_01_port:
|
||||
description: |
|
||||
The port number the bot listens on. Must be 80 if directly exposed to the internet.
|
||||
Default is 31820 for the public-reverse-proxy setup.
|
||||
type: str
|
||||
required: false
|
||||
default: 31820
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
register: certbot__cert_expiry_before
|
||||
|
||||
- name: obtain the certificate using certbot
|
||||
ansible.builtin.command: /usr/bin/certbot certonly --keep-until-expiring --agree-tos --non-interactive --email "{{ certbot__acme_account_email_address }}" --no-eff-email --standalone --http-01-port 31820 -d "{{ item }}"
|
||||
ansible.builtin.command: /usr/bin/certbot certonly --keep-until-expiring --agree-tos --non-interactive --email "{{ certbot__acme_account_email_address }}" --no-eff-email --standalone --http-01-port "{{ certbot__http_01_port }}" -d "{{ item }}"
|
||||
become: true
|
||||
changed_when: false
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue