ansible-role-icecast2/tasks/main.yml
2025-01-26 00:52:24 +01:00

19 lines
366 B
YAML

- 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