Initial commit

This commit is contained in:
Julian Rother 2025-01-26 00:51:04 +01:00
commit 906e1abd06
Signed by: julian
GPG key ID: C19B924C0CD13341
4 changed files with 274 additions and 0 deletions

19
tasks/main.yml Normal file
View file

@ -0,0 +1,19 @@
- name: Install icecast2
ansible.builtin.apt:
pkg:
- icecast2
- name: Add icecast2 to ssl-cert group
user:
name: icecast2
groups: ssl-cert
append: yes
- name: Update config
ansible.builtin.template:
src: icecast.xml.j2
dest: /etc/icecast2/icecast.xml
owner: root
group: icecast
mode: "0640"
notify: Restart icecast2