summaryrefslogtreecommitdiff
path: root/tasks
diff options
context:
space:
mode:
authorheqnx <root@heqnx.com>2025-07-06 17:05:57 +0300
committerheqnx <root@heqnx.com>2025-07-06 17:05:57 +0300
commit31ec32d4b429ecf3aac2c947b9dfb2bbff35de33 (patch)
tree252d9ad6243b685b68731b9fe7b687b1dfbc9559 /tasks
parenta064cbda2086b79b6cc04111cb308a6b2d770aa6 (diff)
downloadansible-icecast2-31ec32d4b429ecf3aac2c947b9dfb2bbff35de33.tar.gz
ansible-icecast2-31ec32d4b429ecf3aac2c947b9dfb2bbff35de33.zip
added a conversion script and small typos
Diffstat (limited to 'tasks')
-rw-r--r--tasks/icecast2_setup.yaml5
-rw-r--r--tasks/nginx_setup.yaml10
2 files changed, 14 insertions, 1 deletions
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