bundles/letsencrypt: use sorted() in domains.txt

This commit is contained in:
Franzi 2020-07-19 10:59:19 +02:00
parent 31a1a88d13
commit 0743283763
Signed by: kunsi
GPG key ID: 12E3D2136B818350

View file

@ -1,5 +1,5 @@
${node.hostname}
% for domain, aliases in node.metadata.get('letsencrypt', {}).get('domains', {}).items():
${domain} ${' '.join(aliases)}
% for domain, aliases in sorted(node.metadata.get('letsencrypt', {}).get('domains', {}).items()):
${domain} ${' '.join(sorted(aliases))}
% endfor