From 50b8e5b2f6de5328166fe6fa816e1a1fedee3943 Mon Sep 17 00:00:00 2001 From: Christian Pointner Date: Tue, 22 Aug 2023 14:57:24 +0200 Subject: uacme: some more tests --- dan/sk-testvm.yml | 104 +++++++++++++++++++++++++----------------------------- 1 file changed, 48 insertions(+), 56 deletions(-) (limited to 'dan') diff --git a/dan/sk-testvm.yml b/dan/sk-testvm.yml index 70b6f336..1d047447 100644 --- a/dan/sk-testvm.yml +++ b/dan/sk-testvm.yml @@ -22,6 +22,40 @@ - role: kubernetes/standalone/base - role: "x509/{{ cert_provider }}/base" - role: nginx/base + - role: nginx/vhost + nginx_vhost: + default: yes + name: nosuchsite + template: generic + tls: + certificate_provider: "{{ cert_provider }}" + hsts: no + hostnames: + - testvm.elev8.at + locations: + '/': + root: /var/www/default + index: index.html + static_cert_config: "{{ static_cert_config__default }}" + selfsigned_cert_config: "{{ selfsigned_cert_config__default }}" + # - role: nginx/vhost + # nginx_vhost: + # name: test + # template: generic + # tls: + # certificate_provider: "{{ cert_provider }}" + # hsts: no + # hostnames: + # - test.spreadspace.org + # - test.spreadspace.com + # - test.spreadspace.net + # - test.spreadspace.systems + # locations: + # '/': + # root: /var/www/test + # index: index.html + # static_cert_config: "{{ static_cert_config__test }}" + # selfsigned_cert_config: "{{ selfsigned_cert_config__test }}" - role: apps/mumble mumble_version: v1.4.274-4 mumble_instance: spreadspace @@ -62,60 +96,18 @@ - - name: install default vhost - vars: - nginx_vhost: - default: yes - name: nosuchsite - template: generic - tls: - certificate_provider: "{{ cert_provider }}" - hsts: no - hostnames: - - testvm.elev8.at - locations: - '/': - root: /var/www/default - index: index.html - static_cert_config: "{{ static_cert_config__default }}" - selfsigned_cert_config: "{{ selfsigned_cert_config__default }}" - include_role: - name: nginx/vhost - - # - name: install index.html for test server - # copy: - # dest: /var/www/test/index.html - # content: | - # - # - # This is Test - # - # - #
- #

If you can read this the test was successful.

- #
- # - # - - # - name: install test vhost - # vars: - # nginx_vhost: - # name: test - # template: generic - # tls: - # certificate_provider: "{{ cert_provider }}" - # hsts: no - # hostnames: - # - test.spreadspace.org - # - test.spreadspace.com - # - test.spreadspace.net - # - test.spreadspace.systems - # locations: - # '/': - # root: /var/www/test - # index: index.html - # static_cert_config: "{{ static_cert_config__test }}" - # selfsigned_cert_config: "{{ selfsigned_cert_config__test }}" - # include_role: - # name: nginx/vhost + - name: install index.html for test server + copy: + dest: /var/www/test/index.html + content: | + + + This is Test + + +
+

If you can read this the test was successful.

+
+ + -- cgit v1.2.3