This commit is contained in:
mwiegand 2021-10-09 15:01:45 +02:00
parent ebac40506e
commit 26a4b8cd80
3 changed files with 19 additions and 17 deletions

View file

@ -7,7 +7,9 @@ defaults = {
}, },
}, },
'letsencrypt': { 'letsencrypt': {
'domains': {}, 'domains': {
# 'example.com': {'alias1.example.com', 'alias2.example.com'},
},
}, },
'pacman': { 'pacman': {
'packages': { 'packages': {
@ -52,7 +54,7 @@ def delegated_domains(metadata):
return { return {
'letsencrypt': { 'letsencrypt': {
'domains': { 'domains': {
domain: {} domain: set()
for other_node in repo.nodes for other_node in repo.nodes
if other_node.has_bundle('letsencrypt') if other_node.has_bundle('letsencrypt')
and other_node.metadata.get('letsencrypt/delegate_to_node', None) == node.name and other_node.metadata.get('letsencrypt/delegate_to_node', None) == node.name

View file

@ -104,7 +104,7 @@ def letsencrypt(metadata):
return { return {
'letsencrypt': { 'letsencrypt': {
'domains': { 'domains': {
domain: {} for domain in metadata.get('nginx/vhosts') domain: set() for domain in metadata.get('nginx/vhosts')
}, },
'reload_after': { 'reload_after': {
'nginx', 'nginx',

View file

@ -32,17 +32,17 @@
'bind': { 'bind': {
'hostname': 'resolver.name', 'hostname': 'resolver.name',
'zones': { 'zones': {
'sublimity.de': [], 'sublimity.de': {},
'freibrief.net': [], 'freibrief.net': {},
'nadenau.net': [], 'nadenau.net': {},
'naeder.net': [], 'naeder.net': {},
'rolfwerner.eu': [], 'rolfwerner.eu': {},
'wettengl.net': [], 'wettengl.net': {},
'wingl.de': [], 'wingl.de': {},
'woodpipe.de': [], 'woodpipe.de': {},
'ckn.li': [], 'ckn.li': {},
'islamicstate.eu': [], 'islamicstate.eu': {},
'hausamsilberberg.de': [], 'hausamsilberberg.de': {},
}, },
}, },
'dns': { 'dns': {
@ -61,9 +61,9 @@
}, },
'letsencrypt': { 'letsencrypt': {
'domains': { 'domains': {
'ckn.li': {}, 'ckn.li': set(),
'sublimity.de': {}, 'sublimity.de': set(),
'freibrief.net': {}, 'freibrief.net': set(),
}, },
}, },
'mailserver': { 'mailserver': {