mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2025-08-29 15:06:26 +02:00
Implemented SAN via Letsencrypt and Certbot
This commit is contained in:
@@ -62,15 +62,32 @@
|
||||
set_fact:
|
||||
service_provider: "{{ defaults_service_provider | combine(service_provider | default({}, true), recursive=True) }}"
|
||||
|
||||
- name: Collect all domains (domains, redirect sources + www)
|
||||
set_fact:
|
||||
all_domains: >-
|
||||
{{
|
||||
(
|
||||
(
|
||||
domains.values() | flatten
|
||||
+ (redirect_domain_mappings | map(attribute='source') | list)
|
||||
)
|
||||
+ (
|
||||
domains.values() | flatten
|
||||
+ (redirect_domain_mappings | map(attribute='source') | list)
|
||||
) | map('regex_replace', '^(.*)$', 'www.\\1') | list
|
||||
) | unique | sort
|
||||
}}
|
||||
|
||||
- name: "Merged Variables"
|
||||
# Add new merged variables here
|
||||
debug:
|
||||
msg:
|
||||
domains: "{{domains}}"
|
||||
applications: "{{applications}}"
|
||||
oidc: "{{oidc}}"
|
||||
service_provider: "{{service_provider}}"
|
||||
users: "{{users}}"
|
||||
domains: "{{ domains }}"
|
||||
applications: "{{ applications }}"
|
||||
oidc: "{{ oidc }}"
|
||||
service_provider: "{{ service_provider }}"
|
||||
users: "{{ users }}"
|
||||
all_domains: "{{ all_domains }}"
|
||||
when: enable_debug | bool
|
||||
|
||||
- name: init root user
|
||||
|
Reference in New Issue
Block a user