Skip to content

Commit

Permalink
Merge pull request #410 from appsembler/maxi/fix-custom-domains
Browse files Browse the repository at this point in the history
add fix for custom domains in Tahoe 2.0
  • Loading branch information
bryanlandia authored Feb 16, 2023
2 parents 0198e77 + c22ed8e commit 5be75c8
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions playbooks/roles/custom_domains/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,29 @@
- custom_domains
- custom_domains:get_domains

- name: Set fact letsencrypt_certs for single cert
set_fact:
letsencrypt_single: ['domains': ['{{ letsencrypt_single_cert }}']]
when: letsencrypt_single_cert is defined and letsencrypt_execute_for_single_domain == true
tags:
- custom_domains
- custom_domains:get_domains

- name: Print single domain
debug:
var: letsencrypt_single
tags:
- custom_domains
- custom_domains:debug

- name: Set fact letsencrypt_certs combined with single cert
set_fact:
letsencrypt_certs: "{{ letsencrypt_certs + letsencrypt_single }}"
when: letsencrypt_single_cert is defined and letsencrypt_execute_for_single_domain == true
tags:
- custom_domains
- custom_domains:get_domains

- name: Print letsencrypt_certs
debug:
var: letsencrypt_certs
Expand Down

0 comments on commit 5be75c8

Please sign in to comment.