ansible_playbook_audiometer/roles/streaming_website/tasks/main.yml

54 lines
1.3 KiB
YAML

---
- 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
ansible.builtin.copy:
src: 'templates/index.html.j2'
dest: '/srv/www/{{ inventory_hostname }}/index.html'
owner: video
group: video
mode: 0644