fruitbasket/content/ese-stream/tasks/main.yml

18 lines
420 B
YAML
Raw Normal View History

2022-09-28 14:20:08 +02:00
- 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/*"