summaryrefslogtreecommitdiff
path: root/dan
diff options
context:
space:
mode:
authorChristian Pointner <equinox@spreadspace.org>2023-08-20 22:25:05 +0200
committerChristian Pointner <equinox@spreadspace.org>2023-08-20 22:25:05 +0200
commitcc98a376ca5ca1509b5c9fcbb59cffad0c1b284d (patch)
tree01950ddd03ed5da382a225aa1c531b12d5f52e1e /dan
parentmonitoring/landingpage: slight improvement in vhost config generation (diff)
sk-testvm: prepare mumble for new tls cert roles
Diffstat (limited to 'dan')
-rw-r--r--dan/sk-testvm.yml95
1 files changed, 57 insertions, 38 deletions
diff --git a/dan/sk-testvm.yml b/dan/sk-testvm.yml
index bffb2c9b..698eb7de 100644
--- a/dan/sk-testvm.yml
+++ b/dan/sk-testvm.yml
@@ -12,13 +12,32 @@
hosts: sk-testvm
vars:
# acme_client: uacme
- # acme_client: acmetool
- # cert_provider: "{{ acme_client }}"
+ acme_client: acmetool
+ cert_provider: "{{ acme_client }}"
# cert_provider: static
- cert_provider: selfsigned
+ # cert_provider: selfsigned
roles:
+ - role: apt-repo/spreadspace
+ - role: kubernetes/base
+ - role: kubernetes/standalone/base
- role: "x509/{{ cert_provider }}/base"
- role: nginx/base
+ - role: apps/mumble
+ mumble_version: v1.4.274-4
+ mumble_instance: spreadspace
+ mumble_hostnames:
+ - test.spreadspace.org
+ - test.spreadspace.com
+ - test.spreadspace.net
+ - test.spreadspace.systems
+ mumble_superuser_password: "very-secret"
+ mumble_config_options:
+ bonjour: false
+ sslCiphers: "ECDHE+AESGCM:DHE+AESGCM:ECDHE+AES256:DHE+AES256:ECDHE+AES128:DHE+AES128:!RSA:!ADH:!AECDH:!MD5"
+ welcometext: "Welcome to the spreadspace Mumble Test-Server"
+ rememberchannel: true
+ mumble_tls:
+ certificate_provider: "{{ cert_provider }}"
post_tasks:
- name: make sure document root directories exist
loop:
@@ -64,39 +83,39 @@
name: nginx/vhost
- - name: install index.html for test server
- copy:
- dest: /var/www/test/index.html
- content: |
- <html>
- <head>
- <title>This is Test</title>
- </head>
- <body style="font-family: Helvetica, Arial, Sans-Serif; color: white; background: black;">
- <div style="text-align: center; margin-top: 4em; margin-left:auto; margin-right:auto;">
- <h2 style="">If you can read this the test was successful.</h2>
- </div>
- </body>
- </html>
+ # - name: install index.html for test server
+ # copy:
+ # dest: /var/www/test/index.html
+ # content: |
+ # <html>
+ # <head>
+ # <title>This is Test</title>
+ # </head>
+ # <body style="font-family: Helvetica, Arial, Sans-Serif; color: white; background: black;">
+ # <div style="text-align: center; margin-top: 4em; margin-left:auto; margin-right:auto;">
+ # <h2 style="">If you can read this the test was successful.</h2>
+ # </div>
+ # </body>
+ # </html>
- - 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 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