diff options
Diffstat (limited to 'spreadspace/sgg-icecast.yml')
-rw-r--r-- | spreadspace/sgg-icecast.yml | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/spreadspace/sgg-icecast.yml b/spreadspace/sgg-icecast.yml index 9a10dd4f..75d278d5 100644 --- a/spreadspace/sgg-icecast.yml +++ b/spreadspace/sgg-icecast.yml @@ -10,3 +10,34 @@ - role: kubernetes/base - role: kubernetes/standalone/base - role: streaming/icecast + - role: apt-repo/spreadspace + - role: acmetool/base + - role: nginx/base + - name: storage/lvm/volume + lvm_volume: + vg: "{{ host_name }}" + lv: www + size: 1G + fs: ext4 + dest: /srv/www + post_tasks: + - name: create base directory for static www content + file: + path: /srv/www/radio + state: directory + + - name: configure default vhost radiogloria.at + vars: + nginx_vhost: + default: yes + name: radio + template: static-files-with-acme + acme: yes + hostnames: + - radiogloria.at + locations: + '/': + root: /srv/www/radio + index: index.html + include_role: + name: nginx/vhost |