From f0872a922769fab1abd02e4a066a40cfc477980c Mon Sep 17 00:00:00 2001 From: Aaron LI Date: Sun, 4 Mar 2018 10:11:04 +0800 Subject: Add web role: nginx and acme-client (SSL/TLS cert) --- roles/web/templates/domains.txt.j2 | 4 ++++ 1 file changed, 4 insertions(+) create mode 100644 roles/web/templates/domains.txt.j2 (limited to 'roles/web/templates') diff --git a/roles/web/templates/domains.txt.j2 b/roles/web/templates/domains.txt.j2 new file mode 100644 index 0000000..dd59388 --- /dev/null +++ b/roles/web/templates/domains.txt.j2 @@ -0,0 +1,4 @@ +{% for domain in domains %} +{{ domain.name }} {% for sub in domain.sub %} {{ sub }}.{{ domain.name }}{% endfor %} + +{% endfor %} -- cgit v1.2.2