ansible_playbook_audiometer/roles/streaming_website/tasks/main.yml

55 lines
1.3 KiB
YAML
Raw Normal View History

2023-02-20 00:12:00 +01:00
---
- name: Copy videojs-http-streaming.min.js
become: true
ansible.builtin.copy:
src: 'files/videojs-http-streaming.min.js'
dest: '/srv/www/{{ inventory_hostname }}/videojs-http-streaming.min.js'
owner: video
group: video
mode: 0644
- name: Copy video.min.js
become: true
ansible.builtin.copy:
src: 'files/video.min.js'
dest: '/srv/www/{{ inventory_hostname }}/video.min.js'
owner: video
group: video
mode: 0644
- name: Copy video-js.min.css
become: true
ansible.builtin.copy:
src: 'files/video-js.min.css'
dest: '/srv/www/{{ inventory_hostname }}/video-js.min.css'
owner: video
group: video
mode: 0644
- name: Copy darktheme.css
become: true
ansible.builtin.copy:
src: 'files/darktheme.css'
dest: '/srv/www/{{ inventory_hostname }}/darktheme.css'
owner: video
group: video
mode: 0644
- name: Copy opensans.ttf
become: true
ansible.builtin.copy:
src: 'files/opensans.ttf'
dest: '/srv/www/{{ inventory_hostname }}/opensans.ttf'
owner: video
group: video
mode: 0644
- name: Copy index.html
become: true
2023-02-21 02:58:00 +01:00
ansible.builtin.template:
2023-02-20 00:12:00 +01:00
src: 'templates/index.html.j2'
dest: '/srv/www/{{ inventory_hostname }}/index.html'
owner: video
group: video
mode: 0644