forked from wurzel/fruitbasket
ese webite
This commit is contained in:
parent
242e2450d3
commit
a9aed45166
14 changed files with 247 additions and 1 deletions
17
content/ese-stream/tasks/main.yml
Normal file
17
content/ese-stream/tasks/main.yml
Normal 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/*"
|
||||
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue