ese webite

This commit is contained in:
revol-xut 2022-09-28 14:20:08 +02:00
parent 242e2450d3
commit a9aed45166
No known key found for this signature in database
GPG key ID: 4F56FF7759627D07
14 changed files with 247 additions and 1 deletions

View file

@ -0,0 +1,17 @@
- name: require nginx
include_role:
name: nginx
- name: apply nginx config template to /etc/nginx/conf.d/stream_frontend.conf
template:
src: stream_frontend.conf.j2
dest: /etc/nginx/conf.d/stream_frontend.conf
notify: restart nginx
- name: copy streaming website
copy:
src: "{{ item }}"
dest: "/var/www/{{ stream_frontend_nginx_url }}/"
owner: www-data
with_fileglob:
- "website/*"