From 31ec32d4b429ecf3aac2c947b9dfb2bbff35de33 Mon Sep 17 00:00:00 2001 From: heqnx Date: Sun, 6 Jul 2025 17:05:57 +0300 Subject: added a conversion script and small typos --- tasks/icecast2_setup.yaml | 5 +++++ tasks/nginx_setup.yaml | 10 +++++++++- 2 files changed, 14 insertions(+), 1 deletion(-) (limited to 'tasks') diff --git a/tasks/icecast2_setup.yaml b/tasks/icecast2_setup.yaml index 506c537..db56f4a 100644 --- a/tasks/icecast2_setup.yaml +++ b/tasks/icecast2_setup.yaml @@ -46,6 +46,11 @@ group: icecast mode: '0744' +- name: copy mp4 to webm script to {{ radio_music_dir }} + copy: + src: files/convert-mp4-to-webm.sh + dest: "{{ radio_music_dir }}/convert-mp4-to-webm.sh" + - name: reload systemd daemon systemd: daemon_reload: yes diff --git a/tasks/nginx_setup.yaml b/tasks/nginx_setup.yaml index 1b6688f..a57e52c 100644 --- a/tasks/nginx_setup.yaml +++ b/tasks/nginx_setup.yaml @@ -30,8 +30,16 @@ owner: www-data group: www-data +- name: copy font ttf /var/www/html + template: + src: files/MorePerfectDOSVGA.ttf + dest: /var/www/html/MorePerfectDOSVGA.ttf + owner: www-data + group: www-data + mode: '0644' + - name: copy web templates to /var/www/html - ansible.builtin.template: + template: src: "{{ item.src }}" dest: "/var/www/html/{{ item.path }}" owner: www-data -- cgit v1.2.3